Updated monitor configuration documentation (#152)

* Added command to show available monitors
This commit is contained in:
UdaraWanasinghe 2023-03-09 21:02:12 +05:30 committed by GitHub
parent e994c8ddf8
commit 86e74f95c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ monitor=DP-1,1920x1080@144,0x0,1
will tell Hyprland to make the monitor on `DP-1` a `1920x1080` display, at 144Hz,
`0x0` off from the top left corner, with a scale of 1 (unscaled).
To list available monitors:
```shell
hyprctl monitors
```
Monitors are positioned on a virtual "layout". The `position` is the position of
said display in the layout. (calculated from the top-left corner)