# XDG Base Directory Specification 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" # For compatibility with apps that support runtime dir (like systemd-based services) export XDG_RUNTIME_DIR="/run/user/$(id -u)"