Add is-focused window rule matcher

This commit is contained in:
Ivan Molodetskikh
2024-03-23 16:16:52 +04:00
parent d65446421f
commit 6ec65bc0d6
5 changed files with 67 additions and 6 deletions
+7
View File
@@ -368,6 +368,13 @@ animations {
// (same as when it uses the active border color).
match is-active=true
// Another way to match is by whether the window has keyboard focus.
// This is different from is-active: every workspace on a monitor
// has one active window, but only one window can have a keyboard
// focus. Also, the keyboard focus can go to a layer-shell surface,
// then no window will have the keyboard focus.
match is-focused=true
// Here are the properties that you can set on a window rule.
// These properties apply once, when a window first opens.