summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-03-23 18:11:04 -0500
committerzachir <zachir@librem.one>2024-03-23 18:17:33 -0500
commit7a250319aaa6ca612b8c30f362b6855ae43e410c (patch)
tree80172bd78058ae64af666c1752f4b55aac0a5cb2 /sh
parentd2bf0ad637eaa5dd472f0c4d173e03d4b2a2c47f (diff)
Fix sh not loading xdg user dirs
Diffstat (limited to 'sh')
-rw-r--r--sh/profile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/profile b/sh/profile
index 33faf7a..c03fc93 100644
--- a/sh/profile
+++ b/sh/profile
@@ -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