From 47a8e75fd585e351dd2846a58152a7766403ca11 Mon Sep 17 00:00:00 2001 From: TheZoq2 Date: Mon, 22 Apr 2024 22:51:52 +0200 Subject: Add is_active_in_column Add missing ``` Fix tests --- wiki/Configuration:-Window-Rules.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'wiki/Configuration:-Window-Rules.md') 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. -- cgit