aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-09-21 13:48:32 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-09-21 13:48:50 +0400
commit109668fa30bf65e56a2723ff29bcadc3e9a6e4ca (patch)
treed95fbf3bdb3c2c14683a34d8bb7203b7dae4820d /resources
parentcfa73c153cc6ae2f1c21dcbbc8e755b265babbd2 (diff)
downloadniri-109668fa30bf65e56a2723ff29bcadc3e9a6e4ca.tar.gz
niri-109668fa30bf65e56a2723ff29bcadc3e9a6e4ca.tar.bz2
niri-109668fa30bf65e56a2723ff29bcadc3e9a6e4ca.zip
Add output configuration & integer scaling support
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 2895244c..7596fba3 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -27,6 +27,14 @@ input {
}
}
+// You can configure outputs by their name, which you can find with wayland-info(1).
+// The built-in laptop monitor is usually called "eDP-1".
+// Remember to uncommend the node by removing "/-"!
+/-output "eDP-1" {
+ // Scale is a floating-point number, but at the moment only integer values work.
+ scale 2.0
+}
+
binds {
// Keys consist of modifiers separated by + signs, followed by an XKB key name
// in the end. To find an XKB name for a particular key, you may use a program