From 243207269ebaefbf663fb4aa93062b5d6768ff59 Mon Sep 17 00:00:00 2001 From: Bart Ilg <35232099+bartilg@users.noreply.github.com> Date: Thu, 30 May 2024 01:18:45 -0700 Subject: [PATCH] Monitors: add context for vertical monitor stacking (#666) --- pages/Configuring/Monitors.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pages/Configuring/Monitors.md b/pages/Configuring/Monitors.md index 17cf34f..d500067 100644 --- a/pages/Configuring/Monitors.md +++ b/pages/Configuring/Monitors.md @@ -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