From fc45ed568638dca0c9a368af2ab87b0e49ad07c7 Mon Sep 17 00:00:00 2001 From: niki-on-github <63949202+niki-on-github@users.noreply.github.com> Date: Sat, 27 Apr 2024 18:34:22 +0200 Subject: [PATCH] update docs for hyprwm/Hyprland#5770 (#621) Co-authored-by: nix --- pages/Configuring/Window-Rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Configuring/Window-Rules.md b/pages/Configuring/Window-Rules.md index 75837d0..8910c99 100644 --- a/pages/Configuring/Window-Rules.md +++ b/pages/Configuring/Window-Rules.md @@ -109,7 +109,7 @@ Static rules are evaluated once when the window is opened and never again. | fullscreen | fullscreens a window | | fakefullscreen | fakefullscreens a window | | maximize | maximizes a window | -| move \[x\] \[y\] | moves a floating window (x,y -> int or %, e.g. 20% or 100. You are also allowed to do `100%-` for the right/bottom anchor, e.g. `100%-20`). Additionally, you can also do `cursor [x] [y]` where x and y are either pixels or percent. Percent is calculated from the window's size. Specify `onscreen` before other parameters to force the window into the screen (e.g. `move onscreen cursor 50% 50%`) | +| move \[x\] \[y\] | moves a floating window (x,y -> int or %, e.g. 20% or 100. You are also allowed to do `100%-` for the right/bottom anchor, e.g. `100%-20`. In addition, the option supports the subtraction of the window size with `100%-w-`, e.g. `100%-w-20`. This results in a gap at the right/bottom edge of the screen to the window with the defined subtracted size). Additionally, you can also do `cursor [x] [y]` where x and y are either pixels or percent. Percent is calculated from the window's size. Specify `onscreen` before other parameters to force the window into the screen (e.g. `move onscreen cursor 50% 50%`) | | size \[x\] \[y\] | resizes a floating window (x,y -> int or %, e.g. 20% or 100) | | center (\[opt\]) | if the window is floating, will center it on the monitor. Set opt as 1 to respect monitor reserved area | | pseudo | pseudotiles a window |