feat(option): @mosaic-nmaster #50

Closed
opened 2026-04-26 00:37:00 +00:00 by barrettruth · 0 comments
barrettruth commented 2026-04-26 00:37:00 +00:00

Add @mosaic-nmaster to let master-style layouts use more than one master pane. This is standard dwm/XMonad territory and multiplies the value of master-stack, centered-master, three-column, and bottom-stack.

Scope

  • New global/window option @mosaic-nmaster
  • Shared helper(s) for master-style algorithms to honor it
  • Define which layouts support it in the first pass
  • Define promote behavior when the master area has multiple panes
  • Define how resize-master applies when the master area contains more than one pane

Acceptance criteria

  • @mosaic-nmaster exists and defaults sanely
  • master-stack can show more than one master pane
  • Any new master-style layouts added in the same cycle also support @mosaic-nmaster
  • Tests cover 1-master and multi-master cases
  • README documents supported layouts and semantics

Open questions

  • Which master layouts support it initially?
  • Does resize-master size the whole master region or individual master panes?

Part of #42.

Add `@mosaic-nmaster` to let master-style layouts use more than one master pane. This is standard dwm/XMonad territory and multiplies the value of `master-stack`, `centered-master`, `three-column`, and `bottom-stack`. ## Scope - New global/window option `@mosaic-nmaster` - Shared helper(s) for master-style algorithms to honor it - Define which layouts support it in the first pass - Define `promote` behavior when the master area has multiple panes - Define how `resize-master` applies when the master area contains more than one pane ## Acceptance criteria - [ ] `@mosaic-nmaster` exists and defaults sanely - [ ] `master-stack` can show more than one master pane - [ ] Any new master-style layouts added in the same cycle also support `@mosaic-nmaster` - [ ] Tests cover 1-master and multi-master cases - [ ] README documents supported layouts and semantics ## Open questions - Which master layouts support it initially? - Does `resize-master` size the whole master region or individual master panes? Part of #42.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/tmux-mosaic#50
No description provided.