diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-27 11:20:03 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | a24a6e4e3c441389fd7731320f47e61e567e237f (patch) | |
| tree | 0f93350f38a83af27ccb5549191323dc56cf9b4e /wiki/Configuration:-Window-Rules.md | |
| parent | 6fba4c371e7868f8d581cf3d49d611cdbb590ad4 (diff) | |
| download | niri-a24a6e4e3c441389fd7731320f47e61e567e237f.tar.gz niri-a24a6e4e3c441389fd7731320f47e61e567e237f.tar.bz2 niri-a24a6e4e3c441389fd7731320f47e61e567e237f.zip | |
Implement is-floating window rule matcher
Diffstat (limited to 'wiki/Configuration:-Window-Rules.md')
| -rw-r--r-- | wiki/Configuration:-Window-Rules.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index bb1b1821..d39140ff 100644 --- a/wiki/Configuration:-Window-Rules.md +++ b/wiki/Configuration:-Window-Rules.md @@ -33,6 +33,7 @@ window-rule { match is-active=true match is-focused=false match is-active-in-column=true + match is-floating=true match at-startup=true // Properties that apply once upon window opening. @@ -198,6 +199,23 @@ window-rule { } ``` +#### `is-floating` + +<sup>Since: next release</sup> + +Can be `true` or `false`. +Matches floating windows. + +> [!NOTE] +> This matcher will apply only after the window is already open. +> This means that you cannot use it to change the window opening properties like `default-window-height` or `open-on-workspace`. + +```kdl +window-rule { + match is-floating=true +} +``` + #### `at-startup` <sup>Since: 0.1.6</sup> |
