monitors: add monitorv2 syntax (#1110)

https://github.com/hyprwm/Hyprland/pull/9761
This commit is contained in:
UjinT34 2025-06-05 17:57:00 +03:00 committed by GitHub
parent 0066adfca0
commit 44aa05753a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -274,6 +274,22 @@ Transform list:
7 -> flipped + 270 degrees
```
## Monitor v2
Alternative syntax. `monitor = DP-1,1920x1080@144,0x0,1,transform,2` is the same as
```ini
monitorv2 {
output = DP-1
mode = 1920x1080@144
position = 0x0
scale = 1
transform = 2
}
```
Other named settings keep their names: `name, value` → `name = value` (e.g. `bitdepth,10` → `bitdepth = 10`)
## Default workspace
See [Workspace Rules](../Workspace-Rules).