summaryrefslogtreecommitdiffstats
path: root/.zprofile
blob: e0e4ae487e826554f7b10d6a3b1b447047f0f3d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Default applications
export BROWSER=firefox
export EDITOR=nvim
export READER=zathura
export TERMINAL=termite
export VISUAL=nvim

# Exports to move certain files around
export LESSHISTFILE="-"
export PASSWORD_STORE_DIR="$HOME/vault/pass"
export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"

# Startx on boot
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
  exec startx
fi