diff options
Diffstat (limited to '.zprofile')
-rw-r--r-- | .zprofile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..b27039f --- /dev/null +++ b/.zprofile @@ -0,0 +1,11 @@ +# Exports to move certain files around +export XDG_CONFIG_HOME="$HOME/.config" +export ZDOTDIR="$XDG_CONFIG_HOME/zsh" +export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" +export PASSWORD_STORE_DIR="$HOME/vault/pass" +export LESSHISTFILE="-" + +# Startx on boot +if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then + exec startx +fi |