Repository navigation
🐛 fix(mangowm): cycle three layouts on Super+T, pick any from a menu and show the layout in Waybar - #6
Merged
Conversation
…om a menu or the Waybar indicator
…sing the picker quietly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the layout surprise behind "new windows open at the start":
Super+T(switch_layout) walked all 14 mango layouts becausecircle_layoutwas never set, so a few presses landed onfair. Merge without squash.Changes
circle_layout=dwindle,tile,monocle, soSuper+Tcycles a short list and returns to dwindle in at most two presses. The help text now says what it cycles.Super+Shift+Topens a Fuzzel picker with every layoutmmsg get layoutsreports, marks the current one (●) and applies the choice to the current tag.mango/layoutmodule sits next to the workspaces, with an icon per common layout. A click opens the picker and scrolling cycles likeSuper+T.jqis declared in the MangoWM desktop manifest because the picker needs it. A missingjqor an unexpected layout list now raises a notification instead of passing for a dismissed menu.Review notes
Testing
tests/smoke.shpasses locally;mango -pvalidates the config.layers/wm/mangowm/tests/session-smoke.shcovers:jq.