fix(wm): correct monitor coordinate mapping for HDMI-A-1
- Update the position of HDMI-A-1 to "2560x600" to align it correctly relative to the primary DP-1 display. - Add descriptive comments clarifying the coordinate offset logic (width of primary display + vertical shift).
This commit is contained in:
1 parent
ac0e2784df
commit
deaa0cc8d6
1 file changed
+3
-1
@@ -11,7 +11,9 @@ hl.monitor({
|
|||||||
hl.monitor({
|
hl.monitor({
|
||||||
output = "HDMI-A-1",
|
output = "HDMI-A-1",
|
||||||
mode = "1920x1080@60.0",
|
mode = "1920x1080@60.0",
|
||||||
position = "2560x1820",
|
-- Shift right by the width of DP-1 (2560)
|
||||||
|
-- Shift down by 600 px
|
||||||
|
position = "2560x600",
|
||||||
scale = 1,
|
scale = 1,
|
||||||
vrr = 0
|
vrr = 0
|
||||||
})
|
})
|
||||||
Reference in new issue
Block a user