summaryrefslogblamecommitdiffstats
path: root/.zprofile
blob: e0e4ae487e826554f7b10d6a3b1b447047f0f3d8 (plain) (tree)


















                                                                                       
# 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