summaryrefslogtreecommitdiffstats
path: root/.zprofile
blob: b27039f46325ac8537811ced4f6d963d623bc9d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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