summaryrefslogtreecommitdiff
path: root/sh/profile
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-03-24 02:12:38 -0500
committerzachir <zachir@librem.one>2024-03-24 02:12:38 -0500
commita379f780dbccbc5ba42a8a58145581d9a9441af2 (patch)
tree51377f91a46a649000cc83c155b1a4c5e497243b /sh/profile
parentf4cb7fce51024dd9566bea3a7a76013d7b540a94 (diff)
parentde752a009e8ac1df83c1631dac8bbf61a741d087 (diff)
Merge branch 'master' of zachir.xyz:zachir/dotfiles into cascas-old
Diffstat (limited to 'sh/profile')
-rw-r--r--sh/profile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/profile b/sh/profile
index 9dc2e46..d424439 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