feat(algorithm): centered-master #43
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
skip-release-notes
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/tmux-mosaic#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a
centered-masteralgorithm — one master pane centered in the window, with remaining panes split into left and right stacks. This is a common dwm/XMonad style and the clearest next non-native layout for Mosaic.Scope
scripts/algorithms/centered-master.shalgo_relayoutlays out one centered master region plus left/right stackspromotefollows current master/stack semanticsresize-masterchanges the centered master widthalgo_sync_statesyncs dragged master width back into@mosaic-mfactAcceptance criteria
@mosaic-algorithm centered-masterapplies a centered master with side stackspromoteswaps the focused stack pane into masterresize-master ±Npersists width in@mosaic-mfactImplementation notes
This is probably the first layout that needs explicit tmux layout-string generation instead of just calling a builtin layout name.
Part of #42.