diff --git a/nix/configurations/vanadium/home/xmonad/xmonad.hs b/nix/configurations/vanadium/home/xmonad/xmonad.hs index 77481697..f0d90a85 100644 --- a/nix/configurations/vanadium/home/xmonad/xmonad.hs +++ b/nix/configurations/vanadium/home/xmonad/xmonad.hs @@ -72,13 +72,11 @@ main = myLayout = avoidStruts $ smartBorders - $ onWorkspace researchWS (ifMaxToggle 2 grid accordion) - $ onWorkspace chatWS (ifMaxToggle 2 grid accordion) - $ onWorkspace multimediaWS (ifMaxToggle 2 grid accordion) + $ onWorkspace researchWS (toggleLayouts grid accordion) + $ onWorkspace chatWS (toggleLayouts grid accordion) + $ onWorkspace multimediaWS (toggleLayouts grid accordion) $ toggleLayouts (focusTracking Full) (mag tallr) where - ifMaxToggle n tog l = ifMax n l (toggleLayouts tog l) - tallr = renamed [ Replace "Tall" ] $ smartSpacingWithEdge 5 @@ -96,6 +94,7 @@ myLayout = renamed [ Replace "Accordion" ] $ smartSpacingWithEdge 5 $ limitSlice 3 + $ Mirror $ Accordion isSioyek :: Query Bool