niri: desk-2 panels landscape, HDMI to the left of the laptop
Frank asked for normal rotation on both PM1601 panels and the HDMI-A-1 panel to the left of eDP-1. rotation drops 90 -> normal, so each panel goes 1200x1920 -> 1920x1200 and the absolute x of everything to its right moves with it: HDMI-A-1 now x=0, eDP-1 x=1920 (y=60, centred against the taller panels), DP-2 x=3840. modes unchanged.
This commit is contained in:
1 parent
5bfdc98e61
commit
9b8820827c
1 file changed
+21
-21
@@ -1,5 +1,5 @@
|
||||
// ────────────── Desk Profile: portable (second desk) ──────────────
|
||||
// Two PM1601 16" panels in portrait beside the laptop panel.
|
||||
// Two PM1601 16" panels, landscape, flanking the laptop panel.
|
||||
// Applied by symlinking this file to cfg/display.kdl (see scripts/desk.sh).
|
||||
// Panels are keyed by EDID identity, NOT by connector name — connector names
|
||||
// reshuffle between docks; identity travels with the panel. Long names copied
|
||||
@@ -9,19 +9,19 @@
|
||||
// requires: PNP(XYM) PM1601 0000000000000
|
||||
// requires: PNP(XYM) PM1601 demoset-1
|
||||
//
|
||||
// Layout (logical, y grows downward; the two panels form one 2400x1920 band):
|
||||
// Layout (logical, y grows downward; three 1920-wide columns):
|
||||
//
|
||||
// ┌──────────────┬──────────┬──────────┐
|
||||
// │ │ PM1601 │ PM1601 │
|
||||
// │ │ rot 90 │ rot 90 │
|
||||
// │ eDP-1 │ 1200x1920│ 1200x1920│
|
||||
// │ 1920x1080 │ (DP-2) │(HDMI-A-1)│
|
||||
// ┌──────────┬──────────────┬──────────┐
|
||||
// │ PM1601 │ │ PM1601 │
|
||||
// │ 1920x1200│ eDP-1 │ 1920x1200│
|
||||
// │(HDMI-A-1)│ 1920x1080 │ (DP-2) │
|
||||
// │ │ │ │
|
||||
// └──────────────┴──────────┴──────────┘
|
||||
// x=0,y=420 x=1920,0 x=3120,0
|
||||
// └──────────┴──────────────┴──────────┘
|
||||
// x=0,y=0 x=1920,y=60 x=3840,y=0
|
||||
//
|
||||
// The laptop sits 420 px down so its centre (960) meets the centre of the
|
||||
// 1920-tall panel band — no dead corner where the cursor crosses.
|
||||
// HDMI-A-1 sits to the LEFT of the laptop by request (2026-10-30); DP-2 stays
|
||||
// on its right. The laptop is 60 px down so it is centred against the taller
|
||||
// 1200 px panels — no dead corner where the cursor crosses.
|
||||
// Modes are the panels' reported preferred modes, copied verbatim: niri
|
||||
// matches mode strings exactly and silently falls back to preferred on a
|
||||
// miss, so a typo here costs the refresh rate without an error.
|
||||
@@ -31,20 +31,20 @@ output "Lenovo Group Limited 0x40A9 Unknown" {
|
||||
mode "1920x1080@60.001"
|
||||
scale 1.0
|
||||
transform "normal"
|
||||
position x=0 y=420
|
||||
position x=1920 y=60
|
||||
focus-at-startup
|
||||
}
|
||||
|
||||
output "PNP(XYM) PM1601 0000000000000" {
|
||||
mode "1920x1200@59.950"
|
||||
scale 1.0
|
||||
transform "90"
|
||||
position x=1920 y=0
|
||||
}
|
||||
|
||||
output "PNP(XYM) PM1601 demoset-1" {
|
||||
mode "1920x1200@59.950"
|
||||
scale 1.0
|
||||
transform "90"
|
||||
position x=3120 y=0
|
||||
transform "normal"
|
||||
position x=0 y=0
|
||||
}
|
||||
|
||||
output "PNP(XYM) PM1601 0000000000000" {
|
||||
mode "1920x1200@59.950"
|
||||
scale 1.0
|
||||
transform "normal"
|
||||
position x=3840 y=0
|
||||
}
|
||||
Reference in new issue
Block a user