diff --git a/nix/configurations/vanadium/home/xmonad/xmonad.hs b/nix/configurations/vanadium/home/xmonad/xmonad.hs index 48e9dabf..f9cbd2bc 100644 --- a/nix/configurations/vanadium/home/xmonad/xmonad.hs +++ b/nix/configurations/vanadium/home/xmonad/xmonad.hs @@ -220,9 +220,9 @@ setMasterNEventHandleHook ev = $ filter (flip M.notMember (W.floating ws)) $ W.integrate' s - if count >= 7 then sendMessage (SetMasterN 4) - else if count >= 5 then sendMessage (SetMasterN 3) - else if count >= 3 then sendMessage (SetMasterN 2) + if count > 7 then sendMessage (SetMasterN 4) + else if count > 5 then sendMessage (SetMasterN 3) + else if count > 3 then sendMessage (SetMasterN 2) else sendMessage (SetMasterN 1) in do case ev of