aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-04-08 03:33:56 +0300
committerYaroslav <contact@yaroslavps.com>2020-04-08 03:33:56 +0300
commit0ef873ddfde53de66c54a84eb3a6c3c8d84deeaa (patch)
tree567cb40719052a701c41ff3e5c5a41e79896a150
parent2d9d251e8c5ce8c006df3a5d40739479a7fe4f8a (diff)
downloadswayrice-0ef873ddfde53de66c54a84eb3a6c3c8d84deeaa.tar.gz
swayrice-0ef873ddfde53de66c54a84eb3a6c3c8d84deeaa.zip
profile file improvements
-rw-r--r--dotfiles/.profile11
l---------dotfiles/.xprofile1
2 files changed, 6 insertions, 6 deletions
diff --git a/dotfiles/.profile b/dotfiles/.profile
index c35422e..5687e0a 100644
--- a/dotfiles/.profile
+++ b/dotfiles/.profile
@@ -18,17 +18,18 @@ export TERMINAL=termite
export EDITOR="nvim"
export BROWSER=qutebrowser
+# Sanely export XDG Base dir variables
+eval "$(sed 's/^[^#].*/export &/g;t;d' ~/.config/user-dirs.dirs)"
+
# Le cleaner home
-export XDG_CONFIG_HOME="$HOME/.config"
-export XDG_CACHE_HOME="$HOME/.cache"
-export XDG_DATA_HOME="$HOME/.local/share"
+export LESSHISTFILE="-"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export INPUTRC="$XDG_CONFIG_HOME/zsh/inputrc"
-export LESSHISTFILE="-"
-export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
+export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
+export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
eval "$(dircolors "$HOME/.config/dir_colors")"
# Start sway automatically upon login on tty1
diff --git a/dotfiles/.xprofile b/dotfiles/.xprofile
deleted file mode 120000
index aa7da3a..0000000
--- a/dotfiles/.xprofile
+++ /dev/null
@@ -1 +0,0 @@
-.profile \ No newline at end of file