diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-10-03 08:35:24 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-10-03 08:35:24 +0400 |
| commit | bb3fbe2e83e5173b7e0df40908280aec02dc1a4b (patch) | |
| tree | 96b6cfb0dcc56ef13f0213aa45b3ff765bcd6793 /resources | |
| parent | ef76b1df0483eb1913405316ee888b6ec5af1bf5 (diff) | |
| download | niri-bb3fbe2e83e5173b7e0df40908280aec02dc1a4b.tar.gz niri-bb3fbe2e83e5173b7e0df40908280aec02dc1a4b.tar.bz2 niri-bb3fbe2e83e5173b7e0df40908280aec02dc1a4b.zip | |
Make output modes configurable
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/default-config.kdl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 69867533..b68bd2a3 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -34,6 +34,14 @@ input { // Scale is a floating-point number, but at the moment only integer values work. scale 2.0 + // Resolution and, optionally, refresh rate of the output. + // The format is "<width>x<height>" or "<width>x<height>@<refresh rate>". + // 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. + // All valid modes are listed in niri's debug output when an output is connected. + mode "1920x1080@144" + // 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. |
