summaryrefslogtreecommitdiff
path: root/desktop/xmonad/xinitrc.xmonad
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-12-20 21:04:08 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-20 21:04:08 -0600
commitc00f675facdc067b07ac4c87135bb5d01ab79085 (patch)
tree5446d3b6442b046bde9d24ad7b485e198b63acba /desktop/xmonad/xinitrc.xmonad
parente5a3a8a37c884e40bf0e1e2ae0dc5ddcb7713d89 (diff)
downloadslackbuilds-c00f675facdc067b07ac4c87135bb5d01ab79085.tar.gz
desktop/xmonad: Poke consolekit in xinitrc
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/xmonad/xinitrc.xmonad')
-rw-r--r--desktop/xmonad/xinitrc.xmonad6
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/xmonad/xinitrc.xmonad b/desktop/xmonad/xinitrc.xmonad
index cbdcb31433..e074ed174c 100644
--- a/desktop/xmonad/xinitrc.xmonad
+++ b/desktop/xmonad/xinitrc.xmonad
@@ -11,5 +11,9 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
-exec /usr/bin/xmonad
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ exec ck-launch-session /usr/bin/xmonad
+else
+ exec /usr/bin/xmonad
+fi