From c00f675facdc067b07ac4c87135bb5d01ab79085 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 20 Dec 2010 21:04:08 -0600 Subject: desktop/xmonad: Poke consolekit in xinitrc Signed-off-by: Robby Workman --- desktop/xmonad/xinitrc.xmonad | 6 +++++- desktop/xmonad/xmonad.SlackBuild | 2 +- 2 files changed, 6 insertions(+), 2 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 diff --git a/desktop/xmonad/xmonad.SlackBuild b/desktop/xmonad/xmonad.SlackBuild index d968cb1221..98861d9129 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) -- cgit v1.2.3