diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-12-19 23:06:34 +0100 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-12-19 23:06:34 +0100 |
commit | 7c94dfb22274632079130196fa236fdff52b7445 (patch) | |
tree | c8a27ac83f3829e8b7518549e05eeab103887f3c | |
parent | bb76a2aefa266a8f3816d50b125fd5ae2a3b8380 (diff) | |
download | XMonadContrib-7c94dfb22274632079130196fa236fdff52b7445.tar.gz XMonadContrib-7c94dfb22274632079130196fa236fdff52b7445.tar.xz XMonadContrib-7c94dfb22274632079130196fa236fdff52b7445.zip |
Update various restart bindings
darcs-hash:20071219220634-a5988-5f0b0cfc57aa06ceb798874790ca9c7c2d68fbbd.gz
-rw-r--r-- | XMonad/Actions/Commands.hs | 4 | ||||
-rw-r--r-- | XMonad/Config/Droundy.hs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/XMonad/Actions/Commands.hs b/XMonad/Actions/Commands.hs index 6892957..eb7d1e9 100644 --- a/XMonad/Actions/Commands.hs +++ b/XMonad/Actions/Commands.hs @@ -88,8 +88,8 @@ defaultCommands = do , ("expand" , sendMessage Expand ) , ("next-layout" , sendMessage NextLayout ) , ("default-layout" , asks (layoutHook . config) >>= setLayout ) - , ("restart-wm" , sr >> restart Nothing True ) - , ("restart-wm-no-resume", sr >> restart Nothing False ) + , ("restart-wm" , sr >> restart "xmonad" True ) + , ("restart-wm-no-resume", sr >> restart "xmonad" False ) , ("xterm" , spawn =<< asks (terminal . config) ) , ("run" , spawn "exe=`dmenu_path | dmenu -b` && exec $exe" ) , ("kill" , kill ) diff --git a/XMonad/Config/Droundy.hs b/XMonad/Config/Droundy.hs index 0657dd5..d4d4088 100644 --- a/XMonad/Config/Droundy.hs +++ b/XMonad/Config/Droundy.hs @@ -77,7 +77,7 @@ keys x = M.fromList $ -- quit, or restart , ((modMask x .|. shiftMask, xK_Escape), io (exitWith ExitSuccess)) -- %! Quit xmonad - , ((modMask x , xK_Escape), broadcastMessage ReleaseResources >> restart (Just "xmonad") True) -- %! Restart xmonad + , ((modMask x , xK_Escape), restart "xmonad" True) -- %! Restart xmonad , ((modMask x .|. shiftMask, xK_z ), layoutScreens 1 (fixedLayout [Rectangle 0 0 1024 768])) |