# vim: ft=sh export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_STATE_HOME="$HOME/.local/state" export PATH="$PATH:$HOME/.local/bin:$XDG_DATA_HOME/bin" # remove some junk from the homedir export GNUPGHOME="$XDG_DATA_HOME/gnupg" export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" export HISTFILE="$XDG_STATE_HOME/bash/history" export GOPATH="$XDG_DATA_HOME/go" export GOMODCACHE="$XDG_CACHE_HOME/go/mod" [[ -z $(pidof Xorg) ]] && [[ $(tty) = "/dev/tty1" ]] && sx