From b6ee5bf201fe1e7af15d1207ef8fa7ac30ed5249 Mon Sep 17 00:00:00 2001 From: sajenim Date: Tue, 6 Feb 2024 20:39:44 +0800 Subject: [PATCH] move master key from return to space --- pkgs/xmonad-config/src/xmonad.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/xmonad-config/src/xmonad.hs b/pkgs/xmonad-config/src/xmonad.hs index f14a199..02e20df 100644 --- a/pkgs/xmonad-config/src/xmonad.hs +++ b/pkgs/xmonad-config/src/xmonad.hs @@ -53,8 +53,8 @@ myKeys = , ((myModMask .|. shiftMask, xK_Up ), windows W.swapUp ) -- %! Swap the focused window with the previous window -- master slave - , ((myModMask, xK_Return ), windows W.focusMaster ) -- %! Move focus to the master window - , ((myModMask .|. shiftMask, xK_Return ), windows W.swapMaster ) -- %! Swap the focused window with the master window + , ((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