mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
Update various restart bindings
This commit is contained in:
parent
ef14aa07ba
commit
9997b18970
@ -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 )
|
||||
|
@ -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]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user