aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorTheZoq2 <frans.skarman@protonmail.com>2024-04-22 22:51:52 +0200
committerIvan Molodetskikh <yalterz@gmail.com>2024-05-11 10:42:49 +0400
commit47a8e75fd585e351dd2846a58152a7766403ca11 (patch)
treebf8b53c9befcb935a9a228a09db8649d58ba7751 /wiki
parent6d9cfe28823e88df68f172496c928bd366777ad1 (diff)
downloadniri-47a8e75fd585e351dd2846a58152a7766403ca11.tar.gz
niri-47a8e75fd585e351dd2846a58152a7766403ca11.tar.bz2
niri-47a8e75fd585e351dd2846a58152a7766403ca11.zip
Add is_active_in_column
Add missing ``` Fix tests
Diffstat (limited to 'wiki')
-rw-r--r--wiki/Configuration:-Window-Rules.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md
index 6cdb2320..02a53a5f 100644
--- a/wiki/Configuration:-Window-Rules.md
+++ b/wiki/Configuration:-Window-Rules.md
@@ -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.