summaryrefslogtreecommitdiff
path: root/x11/.xsession
diff options
context:
space:
mode:
Diffstat (limited to 'x11/.xsession')
-rw-r--r--x11/.xsession5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/.xsession b/x11/.xsession
index 25bc758..408e6f9 100644
--- a/x11/.xsession
+++ b/x11/.xsession
@@ -1,4 +1,7 @@
#!/bin/sh
. "${HOME}/.profile"
-. "${HOME}/.xinitrc"
+
+if [ -z "$XDG_CURRENT_DESKTOP" ]; then
+ . "${HOME}/.xinitrc"
+fi