aboutsummaryrefslogtreecommitdiff
path: root/local/bin
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-07-25 11:12:08 +0200
committerCharles Cabergs <me@cacharle.xyz>2021-07-25 11:13:00 +0200
commite096c50387dc27e7624bfb8bcb76066207cb1c49 (patch)
tree22b5751e568bdadce07c7940bea3d99459a3c783 /local/bin
parent1c2e8586f4d9cd147bbf245194beb08de1f97701 (diff)
downloaddotfiles-e096c50387dc27e7624bfb8bcb76066207cb1c49.tar.gz
dotfiles-e096c50387dc27e7624bfb8bcb76066207cb1c49.tar.bz2
dotfiles-e096c50387dc27e7624bfb8bcb76066207cb1c49.zip
Added clout sync file links, Added qutebrowser bookmarks in sync
Diffstat (limited to 'local/bin')
-rwxr-xr-xlocal/bin/clout4
1 files changed, 2 insertions, 2 deletions
diff --git a/local/bin/clout b/local/bin/clout
index 76320da..51fa3b7 100755
--- a/local/bin/clout
+++ b/local/bin/clout
@@ -25,8 +25,8 @@ remote_host=cacharle.xyz
remote="$remote_user@$remote_host"
# '/' suffix is significant for rsync to know if it needs to copy in the directory or the directory itself
-sync_dir="clout-sync/"
-sync_path="${XDG_DATA_HOME:-$HOME/.sync}/$sync_dir"
+sync_dir=${CLOUT_SYNC_DIR:-'clout-sync/'}
+sync_path="${CLOUT_SYNC_PATH:-"${XDG_DATA_HOME:-"$HOME/.sync"}/$sync_dir"}"
create_sync_dirs() {
# --mkpath only available in latest version of rsync (not in debian repositories)