aboutsummaryrefslogtreecommitdiff
path: root/desktop
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
parente5a3a8a37c884e40bf0e1e2ae0dc5ddcb7713d89 (diff)
desktop/xmonad: Poke consolekit in xinitrc
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/xmonad/xinitrc.xmonad6
-rw-r--r--desktop/xmonad/xmonad.SlackBuild2
2 files changed, 6 insertions, 2 deletions
diff --git a/desktop/xmonad/xinitrc.xmonad b/desktop/xmonad/xinitrc.xmonad
index cbdcb3143361f..e074ed174c322 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
diff --git a/desktop/xmonad/xmonad.SlackBuild b/desktop/xmonad/xmonad.SlackBuild
index d968cb1221cb7..98861d9129e9c 100644
--- a/desktop/xmonad/xmonad.SlackBuild
+++ b/desktop/xmonad/xmonad.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=xmonad
VERSION=${VERSION:-0.9.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
GHC_VERSION=$(ghc --numeric-version)