summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/.profile b/.profile
index d2a1e6c..d023923 100644
--- a/.profile
+++ b/.profile
@@ -57,7 +57,9 @@ if [ -x "`which alsactl 2>/dev/null`" ]; then
fi
# X11
-export XAUTHORITY=$HOME/.Xauthority
+if [ -z "$XAUTHORITY" ]; then
+ export XAUTHORITY=$HOME/.Xauthority
+fi
# Start background programs ##########################################
if [ -f "$HOME/.login-daemons" ]; then