From fb7e3354b6315cf781c4ba51ab655e69f5160ed4 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Fri, 16 Aug 2024 22:40:55 -0600 Subject: [PATCH] Explicitly set XDG directories (prefer lowercase) --- bash/bash_profile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bash/bash_profile b/bash/bash_profile index 1f8210739..ae062311d 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -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"