diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-11 09:52:05 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-11 10:31:12 +0300 |
| commit | 29b7a41692b9773ac939c2b18fe9dbf6735cfef1 (patch) | |
| tree | a0a1ec4a15566ed6eb8d0bcb2ef8dd4c96674a8b /wiki/Configuration:-Window-Rules.md | |
| parent | 216753678a9fc51b0d639b6ed374e965d9eda301 (diff) | |
| download | niri-29b7a41692b9773ac939c2b18fe9dbf6735cfef1.tar.gz niri-29b7a41692b9773ac939c2b18fe9dbf6735cfef1.tar.bz2 niri-29b7a41692b9773ac939c2b18fe9dbf6735cfef1.zip | |
Implement is-window-cast-target window rule matcher
Diffstat (limited to 'wiki/Configuration:-Window-Rules.md')
| -rw-r--r-- | wiki/Configuration:-Window-Rules.md | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index fe4858cf..b294a442 100644 --- a/wiki/Configuration:-Window-Rules.md +++ b/wiki/Configuration:-Window-Rules.md @@ -34,6 +34,7 @@ window-rule { match is-focused=false match is-active-in-column=true match is-floating=true + match is-window-cast-target=true match at-startup=true // Properties that apply once upon window opening. @@ -239,6 +240,42 @@ window-rule { } ``` +#### `is-window-cast-target` + +<sup>Since: next release</sup> + +Can be `true` or `false`. +Matches `true` for windows that are target of an ongoing window screencast. + +```kdl +// Indicate screencasted windows with red colors. +window-rule { + match is-window-cast-target=true + + focus-ring { + active-color "#f38ba8" + inactive-color "#7d0d2d" + } + + border { + inactive-color "#7d0d2d" + } + + shadow { + color "#7d0d2d70" + } + + tab-indicator { + active-color "#f38ba8" + inactive-color "#7d0d2d" + } +} +``` + +Example: + + + #### `at-startup` <sup>Since: 0.1.6</sup> |
