From 895cf63ea1a5d8dd2c5b19c67d96dfe1d2cd9088 Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Wed, 7 May 2008 10:22:05 +0200 Subject: Use gnome-session-save for the mod-shift-q binding darcs-hash:20080507082205-a5988-519432af37fbf219d163a646c334decf8fe8b0e5.gz --- XMonad/Config/Gnome.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/XMonad/Config/Gnome.hs b/XMonad/Config/Gnome.hs index 2b7105e..64b01fa 100644 --- a/XMonad/Config/Gnome.hs +++ b/XMonad/Config/Gnome.hs @@ -37,7 +37,8 @@ gnomeConfig = desktopConfig , keys = \c -> gnomeKeys c `M.union` keys desktopConfig c } gnomeKeys (XConfig {modMask = modm}) = M.fromList $ - [ ((modm, xK_p), gnomeRun) ] + [ ((modm, xK_p), gnomeRun) + , ((modm .|. shiftMask, xK_q), spawn "gnome-session-save --kill") ] -- | Launch the "Run Application" dialog. gnome-panel must be running for this -- to work. -- cgit v1.2.3