From 1d15628eface370f6701ae08b5ca1c6ed64438f6 Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Sat, 17 Jan 2009 04:53:00 +0100 Subject: Asynchronously recompile/restart xmonad on mod-q Ignore-this: 753d8746034f818b81df79003ae5ee0d darcs-hash:20090117035300-25a6b-2c87550f8f014dee37797b194ca9c0c7c6ccc760.gz --- XMonad/Config.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'XMonad') 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 -- cgit v1.2.3