Skip to content

🐛 fix(mangowm): cycle three layouts on Super+T, pick any from a menu and show the layout in Waybar - #6

Merged
anthonyportugal merged 2 commits into
mainfrom
feat/mangowm-layouts
Nov 13, 2026
Merged

anthonyportugal merged 2 commits into
mainfrom
feat/mangowm-layouts

Conversation

@anthonyportugal

Copy link
Copy Markdown
Owner

Fixes the layout surprise behind "new windows open at the start": Super+T (switch_layout) walked all 14 mango layouts because circle_layout was never set, so a few presses landed on fair. Merge without squash.

Changes

  • circle_layout=dwindle,tile,monocle, so Super+T cycles a short list and returns to dwindle in at most two presses. The help text now says what it cycles.
  • Super+Shift+T opens a Fuzzel picker with every layout mmsg get layouts reports, marks the current one (●) and applies the choice to the current tag.
  • Waybar 0.16's native mango/layout module sits next to the workspaces, with an icon per common layout. A click opens the picker and scrolling cycles like Super+T.
  • jq is declared in the MangoWM desktop manifest because the picker needs it. A missing jq or an unexpected layout list now raises a notification instead of passing for a dismissed menu.

Review notes

  • Breaking changes: none. Every layout is still reachable through the picker.
  • Both scroll directions cycle forward, because mango has no "previous layout" dispatch.

Testing

  • tests/smoke.sh passes locally; mango -p validates the config.
  • layers/wm/mangowm/tests/session-smoke.sh covers:
    • the circle list, keybind, help and Waybar module;
    • the picker applying a choice, marking the current layout, doing nothing when dismissed, and reporting a missing jq.
  • Mutations (applying the symbol instead of the name; the old quiet failure) fail the tests.

@anthonyportugal
anthonyportugal merged commit 04b3d8e into main Nov 13, 2026
2 checks passed
@anthonyportugal
anthonyportugal deleted the feat/mangowm-layouts branch November 13, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant