diff options
Diffstat (limited to 'desktop/xmonad/xinitrc.xmonad')
-rw-r--r-- | desktop/xmonad/xinitrc.xmonad | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/xmonad/xinitrc.xmonad b/desktop/xmonad/xinitrc.xmonad index cbdcb3143361..e074ed174c32 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 |