Files
command-center/dotfiles/zz-blankpad/niri/.config/niri/cfg/desk-1-home.kdl
T

65 lines
2.2 KiB
KDL

// ────────────── Desk Profile: home (current rig) ──────────────
// Applied by symlinking this file to cfg/display.kdl (see scripts/desk.sh).
// Panels are keyed by EDID identity (manufacturer model serial), NOT by
// connector name — connector names reshuffle between desks; identity travels.
//
// requires: Sceptre Tech Inc Sceptre M34 Unknown
// requires: Lenovo Group Limited 0x40A9 Unknown
// optional: HDMI-A-1 (PM1601, dock-dependent)
// The panel offers 3440x1440@239.998 as well as @180.000 (`niri msg outputs`, 2026-10-21), and
// 180 is driven DELIBERATELY: the link trained at x8 32.0 GT/s against a max of x16 and the
// display engine is throwing DMCUB errors with EINVAL page flips after s2idle, so the 240-class
// mode stays undriven until a reboot clears that state. niri matches mode strings VERBATIM and
// does not round: "@239.999" is not "@239.998", and a mode it cannot find does not fail — it
// logs "could not be found, falling back to preferred" and drops the panel to 60 Hz on every
// reconnect, which is how this desk ran for weeks. Copy the string from `niri msg outputs`.
// Reasoning and triage: omp-docs/tools/niri/displays.md ("The config pattern", rules 4 and 5).
output "Sceptre Tech Inc Sceptre M34 Unknown" {
mode "3440x1440@180.000"
scale 1
transform "normal"
position x=1581 y=-600
focus-at-startup
}
// PM1601 portrait panel (dock-dependent). EDID string NOT captured as of
// 2026-10-09 (panel disconnected) — connector-keyed placeholder.
// When plugged in: run `desk.sh capture`, re-key this block to the printed
// long name, update #optional above.
output "HDMI-A-1" {
scale 1
transform "90"
position x=2781 y=0
}
output "Lenovo Group Limited 0x40A9 Unknown" {
scale 1.0
position x=-339 y=-240
focus-at-startup
}
output "DP-2" {
mode "3440x1440@180.000"
scale 1.0
transform "90"
position x=1581 y=0
}
output "eDP-1" {
mode "1920x1080@60.001"
scale 1.0
transform "normal"
position x=3981 y=840
}
output "DP-1" {
mode "3440x1440@180.000"
scale 1.0
transform "normal"
position x=1581 y=-600
}