aboutsummaryrefslogtreecommitdiff
path: root/config/zsh
diff options
context:
space:
mode:
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