aboutsummaryrefslogtreecommitdiff
path: root/desktop/i3/xinitrc.i3
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-12-20 21:26:34 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-20 21:26:34 -0600
commitd23cc355957ce564c42def07e7deb6cd39c70301 (patch)
treed4ffe9f87be9097a2c36f65fb4af0df12e72f462 /desktop/i3/xinitrc.i3
parent22bb08c499e1b9bd148c1af2814b268aa3371be1 (diff)
desktop/i3: Tweaks to xinitrc re consolekit pokering
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 47b3a8c767b10..54f5b5c620648 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