Skip to content

Add open-consume-into-column window rule#3508

Open
y0usaf wants to merge 1 commit intoniri-wm:mainfrom
y0usaf:feat/open-consume-into-column
Open

Add open-consume-into-column window rule#3508
y0usaf wants to merge 1 commit intoniri-wm:mainfrom
y0usaf:feat/open-consume-into-column

Conversation

@y0usaf
Copy link

@y0usaf y0usaf commented Feb 25, 2026

Adds a new initial-configure window rule open-consume-into-column that 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:

window-rule {
    match app-id="^foot$"
    default-column-display "tabbed"
    open-consume-into-column "active"
}

Two 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 column

Only applies to tiled windows. Floating windows are unaffected.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant