aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Window-Rules.md
diff options
context:
space:
mode:
Diffstat (limited to 'wiki/Configuration:-Window-Rules.md')
-rw-r--r--wiki/Configuration:-Window-Rules.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md
index 84e4d694..bb1b1821 100644
--- a/wiki/Configuration:-Window-Rules.md
+++ b/wiki/Configuration:-Window-Rules.md
@@ -37,6 +37,7 @@ window-rule {
// Properties that apply once upon window opening.
default-column-width { proportion 0.75; }
+ default-window-height { fixed 500; }
open-on-output "Some Company CoolMonitor 1234"
open-on-workspace "chat"
open-maximized true
@@ -237,6 +238,21 @@ window-rule {
}
```
+#### `default-window-height`
+
+<sup>Since: next release</sup>
+
+Set the default height for the new window if it opens as floating.
+
+```kdl
+// Make Alacritty take 50% of the screen height on opening.
+window-rule {
+ match app-id="^Alacritty$"
+
+ default-window-height { proportion 0.5; }
+}
+```
+
#### `open-on-output`
Make the window open on a specific output.