- 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).
20 lines
367 B
Lua
20 lines
367 B
Lua
-- Per-output monitor rules — embedded sibling of the legacy outputs.conf fragment.
|
|
|
|
hl.monitor({
|
|
output = "DP-1",
|
|
mode = "2560x1440@180.0",
|
|
position = "0x0",
|
|
scale = 1,
|
|
vrr = 0
|
|
})
|
|
|
|
hl.monitor({
|
|
output = "HDMI-A-1",
|
|
mode = "1920x1080@60.0",
|
|
-- Shift right by the width of DP-1 (2560)
|
|
-- Shift down by 600 px
|
|
position = "2560x600",
|
|
scale = 1,
|
|
vrr = 0
|
|
})
|