// You can configure outputs by their name, which you can find // by running `niri msg outputs` while inside a niri instance. // The built-in laptop monitor is usually called "eDP-1". // Find more information on the wiki: // https://github.com/YaLTeR/niri/wiki/Configuration:-Outputs // Remember to uncomment the node by removing "/-"! output "eDP-1" { // Uncomment this line to disable this output. // off // Resolution and, optionally, refresh rate of the output. // The format is "x" or "x@". // If the refresh rate is omitted, niri will pick the highest refresh rate // for the resolution. // If the mode is omitted altogether or is invalid, niri will pick one automatically. // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes. mode "1920x1080" // You can use integer or fractional scale, for example use 1.5 for 150% scale. scale 1 // Transform allows to rotate the output counter-clockwise, valid values are: // normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270. transform "normal" position x=0 y=1080 } output "Philips Consumer Electronics Company PHL 272B8Q UK01945026659" { mode "2560x1440@59.951" scale 1 position x=0 y=-360 } output "Advanced Micro Peripherals Ltd ES07D03 EVE213400622" { mode "3840x2160" scale 1.333333 // scale 1 variable-refresh-rate focus-at-startup layout { preset-column-widths { // Proportion sets the width as a fraction of the output width, taking gaps into account. // For example, you can perfectly fit four windows sized "proportion 0.25" on an output. // The default preset widths are 1/3, 1/2 and 2/3 of the output. proportion 0.125 // proportion 0.25 proportion 0.33333 proportion 0.5 proportion 0.66667 proportion 0.875 // Fixed sets the width in logical pixels exactly. // fixed 1920 } } } output "Iiyama North America PLG2888UH 0x01010101" { mode "3840x2160" position x=-3840 y=0 scale 1.333333 variable-refresh-rate } output "Iiyama North America PLG2888UH 1141664500247" { scale 1.5 position x=0 y=-360 } // work monitor left output "Iiyama North America PL2492H 1151164104155" { mode "1920x1080" scale 1 position x=-1920 y=0 } // work monitor right output "Iiyama North America PL2492H 11511811A1794" { mode "1920x1080" scale 1 position x=0 y=0 } output "HDMI-A-2" { mode "1920x1200" scale 1 position x=0 y=-120 } output "DP-1" { mode "2560x1440" scale 1 position x=0 y=-360 }