summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--XMonad/Config.hs2
-rw-r--r--man/xmonad.hs2
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")
]
++