summaryrefslogtreecommitdiffstats
path: root/.config/niri/output.kdl
diff options
context:
space:
mode:
authorPavel Egorov <[email protected]>2025-12-16 05:03:05 +0300
committerPavel Egorov <[email protected]>2025-12-16 05:03:05 +0300
commit4cae51308aa8625dc2b482e5c36c58d6168b9fc1 (patch)
tree41e39409e76498200a3554f92e0854fc94a6b8d3 /.config/niri/output.kdl
parenta3f41d2e86fc079717ba63b6f86239db6d044650 (diff)
parent2db38a695fc0483056d59fdc772c277a54303fe7 (diff)
downloaddotfiles-4cae51308aa8625dc2b482e5c36c58d6168b9fc1.tar.gz
dotfiles-4cae51308aa8625dc2b482e5c36c58d6168b9fc1.zip
Merge branch 'niri'
Diffstat (limited to '.config/niri/output.kdl')
-rw-r--r--.config/niri/output.kdl37
1 files changed, 37 insertions, 0 deletions
diff --git a/.config/niri/output.kdl b/.config/niri/output.kdl
new file mode 100644
index 0000000..d0355e8
--- /dev/null
+++ b/.config/niri/output.kdl
@@ -0,0 +1,37 @@
1// You can configure outputs by their name, which you can find
2// by running `niri msg outputs` while inside a niri instance.
3// The built-in laptop monitor is usually called "eDP-1".
4// Find more information on the wiki:
5// https://yalter.github.io/niri/Configuration:-Outputs
6// Remember to uncomment the node by removing "/-"!
7/-output "eDP-1" {
8 // Uncomment this line to disable this output.
9 // off
10
11 // Resolution and, optionally, refresh rate of the output.
12 // The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
13 // If the refresh rate is omitted, niri will pick the highest refresh rate
14 // for the resolution.
15 // If the mode is omitted altogether or is invalid, niri will pick one automatically.
16 // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
17 mode "[email protected]"
18
19 // You can use integer or fractional scale, for example use 1.5 for 150% scale.
20 scale 2
21
22 // Transform allows to rotate the output counter-clockwise, valid values are:
23 // normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
24 transform "normal"
25
26 // Position of the output in the global coordinate space.
27 // This affects directional monitor actions like "focus-monitor-left", and cursor movement.
28 // The cursor can only move between directly adjacent outputs.
29 // Output scale and rotation has to be taken into account for positioning:
30 // outputs are sized in logical, or scaled, pixels.
31 // For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080,
32 // so to put another output directly adjacent to it on the right, set its x to 1920.
33 // If the position is unset or results in an overlap, the output is instead placed
34 // automatically.
35 position x=1280 y=0
36}
37