Explicitly set XDG directories (prefer lowercase)

This commit is contained in:
John Mertz 2024-08-16 22:40:55 -06:00
parent cc4fae36ce
commit fb7e3354b6
1 changed files with 16 additions and 0 deletions

View File

@ -30,3 +30,19 @@ if [ -f "/run/.containerenv" ]; then
else
source "$HOME/.dotfiles/bash/bash_profile.host"
fi
# XDG
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"
export XDG_RUNTIME_DIR="$HOME/desktop"
export XDG_DESKTOP_DIR="$HOME/desktop"
export XDG_DOCUMENTS_DIR="$HOME/documents"
export XDG_DOWNLOAD_DIR="$HOME/downloads"
export XDG_MUSIC_DIR="$HOME/music"
export XDG_PICTURES_DIR="$HOME/pictures"
export XDG_PUBLICSHARE_DIR="$HOME/public"
export XDG_TEMPLATES_DIR="$HOME/templates"
export XDG_VIDEOS_DIR="$HOME/videos"
export XDG_SCREENSHOTS_DIR="$HOME/pictures/screenshots"