aboutsummaryrefslogtreecommitdiff
path: root/config/zsh
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 /config/zsh
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 'config/zsh')
-rwxr-xr-xconfig/zsh/zprofile15
1 files changed, 9 insertions, 6 deletions
diff --git a/config/zsh/zprofile b/config/zsh/zprofile
index 660327e..880b230 100755
--- a/config/zsh/zprofile
+++ b/config/zsh/zprofile
@@ -62,9 +62,12 @@ export LESS_TERMCAP_ZW=$(tput rsupm)
export MINIKUBE_IN_STYLE=false # disable cringe minikube emojies
-[ "$(tty)" = '/dev/tty1' ] &&
- {
- xmonad --recompile
- startx "$XDG_CONFIG_HOME/x11/xinitrc"
- poweroff
- }
+export CLOUT_SYNC_DIR="clout-sync/"
+export CLOUT_SYNC_PATH="${XDG_DATA_HOME:-$HOME/.sync}/$CLOUT_SYNC_DIR"
+
+if [ "$(tty)" = '/dev/tty1' ]
+then
+ xmonad --recompile
+ startx "$XDG_CONFIG_HOME/x11/xinitrc"
+ poweroff
+fi