Set XDG related variables

This commit is contained in:
Sonny Bakker 2026-01-08 19:17:21 +01:00
parent 4f073eeb53
commit 1d4e08148c

View file

@ -4,6 +4,10 @@ export SYSTEMD_EDITOR="/usr/bin/vim"
export PAGER=less
export BROWSER=/usr/bin/firefox
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state"
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1