diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-26 13:21:20 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-26 13:21:20 +0400 |
| commit | 5e7eafb2fdd6755633c322ae556e9a4651bdb369 (patch) | |
| tree | 68d228a914aa101f1563d6330d4519554a0437fb /wiki/Configuration:-Window-Rules.md | |
| parent | 41b13aa8814327be6085e62734c7f0f1a37a305f (diff) | |
| download | niri-5e7eafb2fdd6755633c322ae556e9a4651bdb369.tar.gz niri-5e7eafb2fdd6755633c322ae556e9a4651bdb369.tar.bz2 niri-5e7eafb2fdd6755633c322ae556e9a4651bdb369.zip | |
wiki: Add is-focused example
Diffstat (limited to 'wiki/Configuration:-Window-Rules.md')
| -rw-r--r-- | wiki/Configuration:-Window-Rules.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index a2cb5cff..4b6028d8 100644 --- a/wiki/Configuration:-Window-Rules.md +++ b/wiki/Configuration:-Window-Rules.md @@ -148,6 +148,12 @@ Contrary to `is-active`, there can only be a single focused window. Also, when opening a layer-shell application launcher or pop-up menu, the keyboard focus goes to layer-shell. While layer-shell has the keyboard focus, windows will not match this rule. +``` +window-rule { + match is-focused=true +} +``` + ### Window Opening Properties These properties apply once, when a window first opens. |
