blankpad(niri): pin outputs; run both PM1601 externals portrait (transform 90)
- DP-2 at 1536,0 and HDMI-A-1 at 2736,0, both 1200x1920 portrait, scale 1 - eDP-1 pinned at 0,0 with explicit scale 1.25 (output blocks reset unspecified props) - niri transform is counter-clockwise: 90 = top bezel left, 270 = top bezel right
This commit is contained in:
@@ -1,9 +1,27 @@
|
|||||||
// ────────────── Output Configuration ──────────────
|
// ────────────── Output Configuration ──────────────
|
||||||
// You can run `niri msg outputs` to get the correct name for your displays.
|
// You can run `niri msg outputs` to get the correct name for your displays.
|
||||||
// You will have to remove "/-" and edit it before it takes effect.
|
|
||||||
// https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
|
// https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs
|
||||||
|
//
|
||||||
|
// eDP-1 (laptop panel) is pinned too: an output block resets unspecified
|
||||||
|
// properties to defaults, so its 1.25 scale must be repeated here.
|
||||||
|
//
|
||||||
|
// Both external PM1601 panels run portrait. niri's transform is
|
||||||
|
// counter-clockwise: "90" = panel's top bezel faces left, "270" = top bezel
|
||||||
|
// faces right. Swap both values to flip the pair.
|
||||||
|
|
||||||
/- output "DP-1" {
|
output "DP-2" {
|
||||||
mode "2560x1440@359.979" // Set resolution and refresh rate
|
scale 1
|
||||||
scale 1 // No scaling (use 2 for HiDPI)
|
transform "90"
|
||||||
|
position x=1536 y=0
|
||||||
|
}
|
||||||
|
|
||||||
|
output "HDMI-A-1" {
|
||||||
|
scale 1
|
||||||
|
transform "90"
|
||||||
|
position x=2736 y=0
|
||||||
|
}
|
||||||
|
|
||||||
|
output "eDP-1" {
|
||||||
|
scale 1.25
|
||||||
|
position x=0 y=0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user