summaryrefslogtreecommitdiff
path: root/desktop/i3/xinitrc.i3
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/i3/xinitrc.i3')
-rw-r--r--desktop/i3/xinitrc.i32
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/i3/xinitrc.i3 b/desktop/i3/xinitrc.i3
index 47b3a8c767..54f5b5c620 100644
--- a/desktop/i3/xinitrc.i3
+++ b/desktop/i3/xinitrc.i3
@@ -12,7 +12,7 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
# Start i3
-if [ -z $DESKTOP_SESSION ]; then
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session i3
else
exec i3