summaryrefslogtreecommitdiffstats
path: root/.config/niri/output.kdl
diff options
context:
space:
mode:
authorPavel Egorov <[email protected]>2025-12-08 23:42:01 +0300
committerPavel Egorov <[email protected]>2025-12-08 23:42:01 +0300
commitd659eb4c3003a12daac7094e65a74f017d519ca9 (patch)
tree7695289f429b0091ec2976fd52c6ca13396744e3 /.config/niri/output.kdl
parentbddf31d3aeab20782b443f2be98c957e57d90e75 (diff)
downloaddotfiles-d659eb4c3003a12daac7094e65a74f017d519ca9.tar.gz
dotfiles-d659eb4c3003a12daac7094e65a74f017d519ca9.zip
[niri] split config into separate files
Diffstat (limited to '')
-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