mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 12:45:59 +01:00
Keep aspect ratio (#287)
This commit is contained in:
parent
4bdd8eea17
commit
e921b954a1
3 changed files with 6 additions and 4 deletions
|
@ -175,10 +175,10 @@ with your mouse.
|
|||
|
||||
_Available mouse binds_:
|
||||
|
||||
| Name | Description |
|
||||
| -----|------------ |
|
||||
| movewindow | moves the active window |
|
||||
| resizewindow | resizes the active window |
|
||||
| Name | Description | Params |
|
||||
| -----|------------ |--------|
|
||||
| movewindow | moves the active window | none |
|
||||
| resizewindow | resizes the active window | 1 - resize and keep window aspect ratio, 2 - resize and ignore `keepaspectratio` window rule/prop, none or anything else for normal resize |
|
||||
|
||||
_Common mouse buttons' codes:_
|
||||
|
||||
|
|
|
@ -187,6 +187,7 @@ Prop List:
|
|||
| windowdancecompat | 0/1 |
|
||||
| nomaxsize | 0/1 |
|
||||
| dimaround | 0/1 |
|
||||
| keepaspectratio | 0/1 |
|
||||
| alphaoverride | 0/1, makes the next setting be override instead of multiply |
|
||||
| alpha | float 0.0 - 1.0 |
|
||||
| alphainactiveoverride | 0/1, makes the next setting be override instead of multiply |
|
||||
|
|
|
@ -106,6 +106,7 @@ you can use `hyprctl clients`.
|
|||
| windowdance | forces an XWayland window to never refocus, used for games/applications like Rhythm Doctor | |
|
||||
| pin | pins the window *note: floating only* | |
|
||||
| noanim | disables the animations for the window |✓|
|
||||
| keepaspectratio | forces aspect ratio when resizing window with the mouse |✓|
|
||||
| bordercolor \[c\] | force the bordercolor of the window. Options for c: `color` -> sets the active border color OR `color color` -> sets the active and inactive border color of the window. See [variables->colors](../Variables#variable_types) for color definition. |✓|
|
||||
| idleinhibit \[mode\] | sets an idle inhibit rule for the window. If active, apps like `swayidle` will not fire. Modes: `none`, `always`, `focus`, `fullscreen` | |
|
||||
| unset | removes all previously set rules for the given parameters. Please note it has to match EXACTLY. | |
|
||||
|
|
Loading…
Reference in a new issue