diff options
| author | ryukamish <[email protected]> | 2026-02-21 02:54:49 +0530 |
|---|---|---|
| committer | ryukamish <[email protected]> | 2026-02-21 02:54:49 +0530 |
| commit | ebabf65037164d3c59911bcbac3ae118ea01d4e8 (patch) | |
| tree | 79ba169c269fc90cecf4c32cbe19ba8ccf3ab23d /niri/cfg/monitor.kdl | |
| parent | 25424b39e85e816638594ff54f3b44ff122f829d (diff) | |
add: niri config
Diffstat (limited to 'niri/cfg/monitor.kdl')
| -rw-r--r-- | niri/cfg/monitor.kdl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/niri/cfg/monitor.kdl b/niri/cfg/monitor.kdl new file mode 100644 index 0000000..59b9af3 --- /dev/null +++ b/niri/cfg/monitor.kdl @@ -0,0 +1,18 @@ +output "eDP-1" { + mode "1920x1080@60" // To know the displays run `niri msg outputs` + scale 1.3 // Integer fractional scaling for percentage fractional scaling + // 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 of the output in the global coordinate space. + // This affects directional monitor actions like "focus-monitor-left", and cursor movement. + // The cursor can only move between directly adjacent outputs. + // Output scale and rotation has to be taken into account for positioning: + // outputs are sized in logical, or scaled, pixels. + // For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080, + // so to put another output directly adjacent to it on the right, set its x to 1920. + // If the position is unset or results in an overlap, the output is instead placed + // automatically. + position x=1280 y=0 +} |
