aboutsummaryrefslogtreecommitdiff
path: root/stow/rcs/.profile
diff options
context:
space:
mode:
Diffstat (limited to 'stow/rcs/.profile')
-rw-r--r--stow/rcs/.profile8
1 files changed, 6 insertions, 2 deletions
diff --git a/stow/rcs/.profile b/stow/rcs/.profile
index 0c17991..e58d10f 100644
--- a/stow/rcs/.profile
+++ b/stow/rcs/.profile
@@ -12,8 +12,12 @@ if [ -n "$BASH_VERSION" ]; then
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
fi
-# Source environment variables
-[ -f "$HOME/.bash_vars" ] && . "$HOME/.bash_vars"
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_DATA_HOME="$HOME/.local/share"
+
+# Source general and device specific environment variables
+[ -f "$XDG_CONFIG_HOME/rcs/bash_vars" ] && . "$XDG_CONFIG_HOME/rcs/bash_vars"
+[ -f "$XDG_CONFIG_HOME/rcs/device_vars" ] && . "$XDG_CONFIG_HOME/rcs/device_vars"
# Login commands
sudo loadkeys es