From a24a6e4e3c441389fd7731320f47e61e567e237f Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 27 Dec 2024 11:20:03 +0300 Subject: Implement is-floating window rule matcher --- wiki/Configuration:-Window-Rules.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'wiki') 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` + +Since: next release + +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` Since: 0.1.6 -- cgit