diff options
author | Spencer Janssen <spencerjanssen@gmail.com> | 2009-01-17 04:53:00 +0100 |
---|---|---|
committer | Spencer Janssen <spencerjanssen@gmail.com> | 2009-01-17 04:53:00 +0100 |
commit | 0cc9404993395f06a35328d1d9a6abd2ae224bb7 (patch) | |
tree | 65a7ec4be00de5a84a45647d7c1ebe718e5da2c4 | |
parent | d200a1bb6dda29222ab948c2b8d8d69139cbd31e (diff) | |
download | metatile-0cc9404993395f06a35328d1d9a6abd2ae224bb7.tar metatile-0cc9404993395f06a35328d1d9a6abd2ae224bb7.zip |
Asynchronously recompile/restart xmonad on mod-q
Ignore-this: 753d8746034f818b81df79003ae5ee0d
darcs-hash:20090117035300-25a6b-2c87550f8f014dee37797b194ca9c0c7c6ccc760
-rw-r--r-- | XMonad/Config.hs | 2 | ||||
-rw-r--r-- | man/xmonad.hs | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/man/xmonad.hs b/man/xmonad.hs index 845de8b..af69aa9 100644 --- a/man/xmonad.hs +++ b/man/xmonad.hs @@ -129,7 +129,7 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $ , ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess)) -- Restart xmonad - , ((modMask , xK_q ), restart "xmonad" True) + , ((modMask , xK_q ), spawn "xmonad --recompile; xmonad --restart") ] ++ |