Add default-column-display window rule

This commit is contained in:
Ivan Molodetskikh
2025-02-06 09:09:07 +03:00
parent 8f9e0d029c
commit 1515410012
4 changed files with 42 additions and 1 deletions
+22
View File
@@ -52,6 +52,7 @@ window-rule {
block-out-from "screencast"
// block-out-from "screen-capture"
variable-refresh-rate true
default-column-display "tabbed"
default-floating-position x=100 y=200 relative-to="bottom-left"
scroll-factor 0.75
@@ -528,6 +529,27 @@ window-rule {
}
```
#### `default-column-display`
<sup>Since: next release</sup>
Set the default display mode for columns created from this window.
This is used any time a window goes into its own column.
For example:
- Opening a new window.
- Expelling a window into its own column.
- Moving a window from the floating layout to the tiling layout.
```kdl
// Make Evince windows open as tabbed columns.
window-rule {
match app-id="^evince$"
default-column-display "tabbed"
}
```
#### `default-floating-position`
<sup>Since: 25.01</sup>