Add open-consume-into-column window rule#3508
Open
y0usaf wants to merge 1 commit intoniri-wm:mainfrom
Open
Conversation
Adds a new initial-configure window rule `open-consume-into-column true` that automatically merges a newly opened window into the first existing column containing another window with the same rule, rather than creating a new column. This enables use cases like stacking all terminals together, or grouping terminals and a browser in the same column — optionally combined with `default-column-display "tabbed"` for a tabbed appearance. Matching strategy: the new window is consumed into the first column (left-to-right) that has any tile with `open-consume-into-column true`. Only applies to tiled windows; floating windows are unaffected.
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.
Adds a new initial-configure window rule
open-consume-into-columnthat automatically merges a newly opened window into an existing column containing another window with the same rule, rather than creating a new column.Motivated by longstanding requests:
consume-or-expel-window-leftthe spawned window, but this feels tedious to do every single time." — rizoconsume-window-into-columnwhen the child window is opened." — NairouTwo strategies:
"active"— prefer the column to the left of the new window (the previously active column in the common case), falling back to the first match"first"— always consume into the first (leftmost) matching columnOnly applies to tiled windows. Floating windows are unaffected.