feat(prog/xmonad): return moving focus keybindings

This commit is contained in:
Dmitriy Pleshevskiy 2022-04-13 16:27:50 +03:00
parent 5c607e252a
commit 11ec9f623b

View file

@ -92,22 +92,22 @@ myKeys conf = mkKeymap conf $
-- Easy moution to focus windows -- Easy moution to focus windows
, ("M-s", selectWindow def >>= (`whenJust` windows . W.focusWindow)) , ("M-s", selectWindow def >>= (`whenJust` windows . W.focusWindow))
-- Move focus to the next window
, ("M-j", windows W.focusDown)
-- Move focus to the previous window
, ("M-k", windows W.focusUp)
-- Move focus to the master window -- Move focus to the master window
, ("M-m", windows W.focusMaster) , ("M-m", windows W.focusMaster)
-- Swap the focused window and the master window -- Swap the focused window and the master window
, ("M-<Return>", windows W.swapMaster) , ("M-<Return>", windows W.swapMaster)
-- Swap the focused window with the next window -- Swap the focused window with the next window
, ("M-S-j", windows W.swapDown) , ("M-S-j", windows W.swapDown)
-- Swap the focused window with the previous window -- Swap the focused window with the previous window
, ("M-S-k", windows W.swapUp) , ("M-S-k", windows W.swapUp)
-- Shrink the master area -- Shrink the master area
, ("M-h", sendMessage Shrink) , ("M-h", sendMessage Shrink)
-- Expand the master area -- Expand the master area
, ("M-l", sendMessage Expand) , ("M-l", sendMessage Expand)
@ -116,7 +116,6 @@ myKeys conf = mkKeymap conf $
-- Increment the number of windows in the master area -- Increment the number of windows in the master area
, ("M-,", sendMessage $ IncMasterN 1) , ("M-,", sendMessage $ IncMasterN 1)
-- Deincrement the number of windows in the master area -- Deincrement the number of windows in the master area
, ("M-.", sendMessage $ IncMasterN (-1)) , ("M-.", sendMessage $ IncMasterN (-1))