mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-05 13:05:59 +01:00
respect reserved area in center/centerwindow (#290)
* reserved area and center/centerwindow modified: Dispatchers.md modified: Window-Rules.md * fix syntax modified: pages/Configuring/Window-Rules.md
This commit is contained in:
parent
6a9b56b74a
commit
ec19bdcb03
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ layout pages (See the sidebar).
|
|||
| movefocus | moves the focus in a direction | direction |
|
||||
| movewindow | moves the active window in a direction or to a monitor | direction or `mon:` and a monitor |
|
||||
| swapwindow | swaps the active window with another window in the given direction | direction |
|
||||
| centerwindow | center the active window *note: floating only* | none |
|
||||
| centerwindow | center the active window *note: floating only* | none (for monitor center) or 1 (to respect monitor reserved area) |
|
||||
| resizeactive | resizes the active window | resizeparams |
|
||||
| moveactive | moves the active window | resizeparams |
|
||||
| resizewindowpixel | resizes a selected window | `resizeparams,window`, e.g. `100 100,^(kitty)$` |
|
||||
|
|
|
@ -86,7 +86,7 @@ you can use `hyprctl clients`.
|
|||
| size \[x\] \[y\] | resizes a floating window (x,y -> int or %, e.g. 20% or 100) | |
|
||||
| minsize \[x\] \[y\] | sets the minimum size on creation (x,y -> int) | |
|
||||
| maxsize \[x\] \[y\] | sets the maximum size on creation (x,y -> int) | |
|
||||
| center | if the window is floating, will center it on the monitor | |
|
||||
| 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 | |
|
||||
| monitor \[id\] | sets the monitor on which a window should open. `id` can be either id or name (either e.g. `1` or e.g. `DP-1`) | |
|
||||
| workspace \[w\] | sets the workspace on which a window should open (for workspace syntax, see [dispatchers->workspaces](../Dispatchers#workspaces)). You can also make \[w\] to `unset`, will unset all previous workspace rules applied to this window. You can also add `silent` after the workspace to make the window open silently. | |
|
||||
|
|
Loading…
Reference in a new issue