mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-25 22:15:59 +01:00
Monitors: add context for vertical monitor stacking (#666)
This commit is contained in:
parent
8e46ed7b30
commit
243207269e
1 changed files with 19 additions and 0 deletions
|
@ -53,6 +53,25 @@ monitor=DP-1, 1920x1080, 0x0, 1
|
|||
monitor=DP-2, 1920x1080, -1920x0, 1
|
||||
```
|
||||
|
||||
Hyprland uses an inverse Y cartesian system. Thus, a negative y coordinate
|
||||
places a monitor higher, and a positive y coordinate will place it lower.
|
||||
|
||||
For example:
|
||||
|
||||
```ini
|
||||
monitor=DP-1, 1920x1080, 0x0, 1
|
||||
monitor=DP-2, 1920x1080, 0x-1080, 1
|
||||
```
|
||||
|
||||
will tell hyprland to make DP-2 _above_ DP-1, while
|
||||
|
||||
```ini
|
||||
monitor=DP-1, 1920x1080, 0x0, 1
|
||||
monitor=DP-2, 1920x1080, 0x1080, 1
|
||||
```
|
||||
|
||||
will tell hyprland to make DP-2 _below_.
|
||||
|
||||
{{< callout type=info >}}
|
||||
|
||||
The position is calculated with the scaled (and transformed) resolution, meaning
|
||||
|
|
Loading…
Reference in a new issue