summaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorSpencer Janssen <spencerjanssen@gmail.com>2009-01-17 04:53:00 +0100
committerSpencer Janssen <spencerjanssen@gmail.com>2009-01-17 04:53:00 +0100
commit0cc9404993395f06a35328d1d9a6abd2ae224bb7 (patch)
tree65a7ec4be00de5a84a45647d7c1ebe718e5da2c4 /XMonad
parentd200a1bb6dda29222ab948c2b8d8d69139cbd31e (diff)
downloadmetatile-0cc9404993395f06a35328d1d9a6abd2ae224bb7.tar
metatile-0cc9404993395f06a35328d1d9a6abd2ae224bb7.zip
Asynchronously recompile/restart xmonad on mod-q
Ignore-this: 753d8746034f818b81df79003ae5ee0d darcs-hash:20090117035300-25a6b-2c87550f8f014dee37797b194ca9c0c7c6ccc760
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Config.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Config.hs b/XMonad/Config.hs
index aab81f2..6e90673 100644
--- a/XMonad/Config.hs
+++ b/XMonad/Config.hs
@@ -205,7 +205,7 @@ keys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
-- quit, or restart
, ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess)) -- %! Quit xmonad
- , ((modMask , xK_q ), restart "xmonad" True) -- %! Restart xmonad
+ , ((modMask , xK_q ), spawn "xmonad --recompile; xmonad --restart") -- %! Restart xmonad
]
++
-- mod-[1..9] %! Switch to workspace N