aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-05-07 10:22:05 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-05-07 10:22:05 +0200
commit895cf63ea1a5d8dd2c5b19c67d96dfe1d2cd9088 (patch)
tree2fcd0c8ef68f21c0fdbe38e99c3d1ebc0cd17784 /XMonad
parente85348ba27b3ed209a8498d25b6ecbf627e0c4c4 (diff)
downloadXMonadContrib-895cf63ea1a5d8dd2c5b19c67d96dfe1d2cd9088.tar.gz
XMonadContrib-895cf63ea1a5d8dd2c5b19c67d96dfe1d2cd9088.tar.xz
XMonadContrib-895cf63ea1a5d8dd2c5b19c67d96dfe1d2cd9088.zip
Use gnome-session-save for the mod-shift-q binding
darcs-hash:20080507082205-a5988-519432af37fbf219d163a646c334decf8fe8b0e5.gz
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Config/Gnome.hs3
1 files changed, 2 insertions, 1 deletions
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.