feat(algorithm): dwindle #49
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#49
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
dwindlealgorithm — recursively split panes in a shrinking Fibonacci pattern. This is the sibling ofspiraland maps cleanly to dwm/XMonad/Hyprland terminology.Scope
scripts/algorithms/dwindle.shpromoteexists or this is relayout-onlyAcceptance criteria
@mosaic-algorithm dwindleapplies deterministic dwindle tilingImplementation notes
Probably best built alongside
spiralwith shared layout-string generation helpers.Part of #42.
I checked the upstream
dwindle/ Fibonacci family before starting this.This one looks feasible in tmux because it is still a non-overlapping recursive split tree, unlike
deckortwo-pane.The cleanest contract seems to be the dwm fibonacci patch, where
spiralanddwindleare sibling layouts from the same recursive generator. In that model:mfactdwindleis the shrinking sibling ofspiral, not a separate hidden-pane conceptFor Mosaic, that suggests:
spiralanddwindlefrom a shared layout-string generator@mosaic-mfactto the first splitpromotesemantics that the upstream layouts do not really defineSo I would treat this as the follow-on to
spiral, sharing the same geometry helper rather than designing the two independently.