mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 06:25: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_:
|
_Available mouse binds_:
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description | Params |
|
||||||
| -----|------------ |
|
| -----|------------ |--------|
|
||||||
| movewindow | moves the active window |
|
| movewindow | moves the active window | none |
|
||||||
| resizewindow | resizes the active window |
|
| 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:_
|
_Common mouse buttons' codes:_
|
||||||
|
|
||||||
|
|
|
@ -187,6 +187,7 @@ Prop List:
|
||||||
| windowdancecompat | 0/1 |
|
| windowdancecompat | 0/1 |
|
||||||
| nomaxsize | 0/1 |
|
| nomaxsize | 0/1 |
|
||||||
| dimaround | 0/1 |
|
| dimaround | 0/1 |
|
||||||
|
| keepaspectratio | 0/1 |
|
||||||
| alphaoverride | 0/1, makes the next setting be override instead of multiply |
|
| alphaoverride | 0/1, makes the next setting be override instead of multiply |
|
||||||
| alpha | float 0.0 - 1.0 |
|
| alpha | float 0.0 - 1.0 |
|
||||||
| alphainactiveoverride | 0/1, makes the next setting be override instead of multiply |
|
| 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 | |
|
| windowdance | forces an XWayland window to never refocus, used for games/applications like Rhythm Doctor | |
|
||||||
| pin | pins the window *note: floating only* | |
|
| pin | pins the window *note: floating only* | |
|
||||||
| noanim | disables the animations for the window |✓|
|
| 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. |✓|
|
| 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` | |
|
| 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. | |
|
| unset | removes all previously set rules for the given parameters. Please note it has to match EXACTLY. | |
|
||||||
|
|
Loading…
Reference in a new issue