aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-03-23 14:38:07 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-03-23 15:45:44 +0400
commitb7ed2fb82a19afe73e3e51ef2331ac6ad9c175a0 (patch)
tree8757c39889958bd6a8f87ac9089d8e5a7fd43a76 /resources
parentf3f02aca2058dd7adc4d75707ded2b5d8887a258 (diff)
downloadniri-b7ed2fb82a19afe73e3e51ef2331ac6ad9c175a0.tar.gz
niri-b7ed2fb82a19afe73e3e51ef2331ac6ad9c175a0.tar.bz2
niri-b7ed2fb82a19afe73e3e51ef2331ac6ad9c175a0.zip
Add is-active window rule matcher
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 6534fe15..55bff24d 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -364,6 +364,10 @@ animations {
// Raw KDL strings are helpful here.
exclude app-id=r#"\.unwanted\."#
+ // One more way to match is by whether the window is active
+ // (same as when it uses the active border color).
+ match is-active=true
+
// Here are the properties that you can set on a window rule.
// These properties apply once, when a window first opens.