From cb04241b4030be8789621ee37faffc40246d8e82 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Tue, 12 May 2026 09:48:29 +0800 Subject: [PATCH] update docs --- docs/window-management/rules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/window-management/rules.md b/docs/window-management/rules.md index 93e81eba..4a295157 100644 --- a/docs/window-management/rules.md +++ b/docs/window-management/rules.md @@ -40,8 +40,8 @@ windowrule=Parameter:Values,Parameter:Values,appid:Values,title:Values | Parameter | Type | Values | Description | | :--- | :--- | :--- | :--- | -| `width` | integer | 0-9999 | Window width when it becomes a floating window | -| `height` | integer | 0-9999 | Window height when it becomes a floating window | +| `width` | float | 0-9999 | Window width when it becomes a floating window,if the value below 1, it will be the percentage of the screen width,otherwise it will be the pixel value | +| `height` | float | 0-9999 | Window height when it becomes a floating window,if the value below 1, it will be the percentage of the screen height,otherwise it will be the pixel value | | `offsetx` | integer | -999-999 | X offset from center (%), 100 is the edge of screen with outer gap | | `offsety` | integer | -999-999 | Y offset from center (%), 100 is the edge of screen with outer gap | | `monitor` | string | Any | Assign to monitor by [monitor spec](/docs/configuration/monitors#monitor-spec-format) (name, make, model, or serial) |