aboutsummaryrefslogtreecommitdiff
path: root/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'xinitrc')
-rw-r--r--xinitrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/xinitrc b/xinitrc
index 8352544..c3365ba 100644
--- a/xinitrc
+++ b/xinitrc
@@ -44,6 +44,12 @@ export LANG
[ -n "$LC_MEASUREMENT" ] && export LC_MEASUREMENT
[ -n "$LC_IDENTIFICATION" ] && export LC_IDENTIFICATION
+# Export DOTFILES_LOCATION (should be exported allready
+
+if [ -z "$DOTFILES_LOCATION" ]; then
+ export DOTFILES_LOCATION=$(get_dotfiles_location)
+fi
+
eval $(ssh-agent -s -a ~/.ssh/agent.sock)
[[ -f $HOME/.Xresources ]] && xrdb -merge $HOME/.Xresources