From d043d75c0c8d86fee781c4f16ae607fd0b802c39 Mon Sep 17 00:00:00 2001 From: EvilLary Date: Tue, 18 Nov 2025 15:05:44 +0300 Subject: [PATCH] Config:Window-rules: re-add center rule (#1286) --- content/Configuring/Window-Rules.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/Configuring/Window-Rules.md b/content/Configuring/Window-Rules.md index c789dff..4357a47 100644 --- a/content/Configuring/Window-Rules.md +++ b/content/Configuring/Window-Rules.md @@ -100,6 +100,7 @@ Static effects are evaluated once when the window is opened and never again. Thi | fullscreen_state | \[internal\] \[client\] | Sets the focused window's fullscreen mode and the one sent to the client, where internal and client can be `0` - none, `1` - maximize, `2` - fullscreen, `3` - maximize and fullscreen. | | move | \[expr\] \[expr\] | Moves a floating window to a given coordinate, monitor-local. Two expressions are space-separated. | | size | \[expr\] \[expr\] | Resizes a floating window to a given size. Two expressions are space-separated. | +| center | \[on\] | If the window is floating, will center it on the monitor. | | pseudo | \[on\] | Pseudotiles a window. | | monitor | \[id\] | Sets the monitor on which a window should open. `id` can be either the id number or the name (e.g. `1` or `DP-1`). | | workspace | \[w\] | Sets the workspace on which a window should open (for workspace syntax, see [dispatchers->workspaces](../Dispatchers#workspaces)).
You can also set \[w\] to `unset`. This will unset all previous workspace rules applied to this window. Additionally you can add `silent` after the workspace to make the window open silently. |