From f393b1aa996f0a670b3b2fb61a077ffe1ec019f4 Mon Sep 17 00:00:00 2001 From: sajenim Date: Tue, 6 Feb 2024 21:58:08 +0800 Subject: [PATCH] swap shrink expand bindings --- pkgs/xmonad-config/src/xmonad.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/xmonad-config/src/xmonad.hs b/pkgs/xmonad-config/src/xmonad.hs index fedb121..d3defb8 100644 --- a/pkgs/xmonad-config/src/xmonad.hs +++ b/pkgs/xmonad-config/src/xmonad.hs @@ -55,10 +55,10 @@ myKeys = -- master slave , ((myModMask, xK_space ), windows W.focusMaster ) -- %! Move focus to the master window , ((myModMask .|. shiftMask, xK_space ), windows W.swapMaster ) -- %! Swap the focused window with the master window - , ((myModMask, xK_Page_Down), sendMessage Shrink ) -- %! Shrink the master area - , ((myModMask, xK_Page_Up ), sendMessage Expand ) -- %! Expand the master area - , ((myModMask .|. shiftMask, xK_Page_Down), sendMessage (IncMasterN 1) ) -- %! Increase the number of windows in the master area - , ((myModMask .|. shiftMask, xK_Page_Up ), sendMessage (IncMasterN (-1)) ) -- %! Decrease the number of windows in the master area + , ((myModMask, xK_Page_Up ), sendMessage Shrink ) -- %! Shrink the master area + , ((myModMask, xK_Page_Down), sendMessage Expand ) -- %! Expand the master area + , ((myModMask .|. shiftMask, xK_Page_Up ), sendMessage (IncMasterN 1) ) -- %! Increase the number of windows in the master area + , ((myModMask .|. shiftMask, xK_Page_Down), sendMessage (IncMasterN (-1)) ) -- %! Decrease the number of windows in the master area -- workspaces , ((myModMask, xK_Right ), moveTo Next hiddenWS ) -- %! Move focus to the next hidden workspace