aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-10-03 17:02:07 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-10-03 17:02:07 +0400
commit1bcc889e6232515a12f38738418586f03ea8c8c6 (patch)
tree7d48643d6a1656b01b78dd26883f3b39dbe95bdf /resources
parent7bb1c114a2f29f339f547e226cfd7d3af47f414f (diff)
downloadniri-1bcc889e6232515a12f38738418586f03ea8c8c6.tar.gz
niri-1bcc889e6232515a12f38738418586f03ea8c8c6.tar.bz2
niri-1bcc889e6232515a12f38738418586f03ea8c8c6.zip
Add tablet map-to-output setting
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl9
1 files changed, 8 insertions, 1 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index a6e3667e..11d225cb 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -18,13 +18,20 @@ input {
// repeat-rate 25
}
- // Next sections contain libinput settings.
+ // Next sections include libinput settings.
// Omitting settings disables them, or leaves them at their default values.
touchpad {
tap
natural-scroll
// accel-speed 0.2
}
+
+ tablet {
+ // Set the name of the output (see below) which the tablet will map to.
+ // If this is unset or the output doesn't exist, the tablet maps to one of the
+ // existing outputs.
+ map-to-output "eDP-1"
+ }
}
// You can configure outputs by their name, which you can find with wayland-info(1).