vanadium/xmonad: rotate accordion 90 degrees

This commit is contained in:
Primrose 2025-12-09 15:12:11 +08:00
parent f525007c3d
commit f27de9f059
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -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