From f27de9f0592a76771a63d446f5d9053e326034dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Tue, 9 Dec 2025 15:12:11 +0800 Subject: [PATCH] vanadium/xmonad: rotate accordion 90 degrees --- nix/configurations/vanadium/home/xmonad/xmonad.hs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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