diff options
author | zachir <zachir@librem.one> | 2024-03-23 18:11:04 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2024-03-23 18:17:33 -0500 |
commit | 7a250319aaa6ca612b8c30f362b6855ae43e410c (patch) | |
tree | 80172bd78058ae64af666c1752f4b55aac0a5cb2 /sh/profile | |
parent | d2bf0ad637eaa5dd472f0c4d173e03d4b2a2c47f (diff) |
Fix sh not loading xdg user dirs
Diffstat (limited to 'sh/profile')
-rw-r--r-- | sh/profile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,13 +6,14 @@ export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"} export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"} export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"} -[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" +. "$HOME/.config/user-dirs.dirs" export XDG_CURRENT_DESKTOP="i3" export XDG_DOCUMENTS_DIR=${HOME}/Documents export XDG_DOWNLOAD_DIR=${HOME}/Downloads export XDG_DESKTOP_DIR=${HOME}/Desktop export XDG_VIDEOS_DIR=${HOME}/Videos +export XDG_DATA_DIRS="${XDG_DATA_DIRS}:$HOME/.nix-profile/share" # Doesn't seem to work export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android |