mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Add is_active_in_column
Add missing ``` Fix tests
This commit is contained in:
committed by
Ivan Molodetskikh
parent
6d9cfe2882
commit
47a8e75fd5
@@ -174,6 +174,20 @@ window-rule {
|
||||
}
|
||||
```
|
||||
|
||||
#### `is-active-in-column`
|
||||
|
||||
Can be `true` or `false`.
|
||||
Matches the window that is the "active" window in its column.
|
||||
|
||||
Contrary to `is-active`, there is always one `is-active-in-column` window in each column.
|
||||
It is the window that was last focused in the column, i.e. the one that will gain focus if this column is focused.
|
||||
|
||||
```
|
||||
window-rule {
|
||||
match is-active-in-column=true
|
||||
}
|
||||
```
|
||||
|
||||
### Window Opening Properties
|
||||
|
||||
These properties apply once, when a window first opens.
|
||||
|
||||
Reference in New Issue
Block a user