aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-09-16 12:37:23 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-09-16 18:13:52 +0300
commitb66b4399ad2e178c3ba36c6fc5a6e65fd5aa4b17 (patch)
tree78bdbd179d983b5bd94b73600518ffb64d99b9dc /resources
parent37ec5242640b432c57a3f8a97ae3ebcc46b9e3f3 (diff)
downloadniri-b66b4399ad2e178c3ba36c6fc5a6e65fd5aa4b17.tar.gz
niri-b66b4399ad2e178c3ba36c6fc5a6e65fd5aa4b17.tar.bz2
niri-b66b4399ad2e178c3ba36c6fc5a6e65fd5aa4b17.zip
Add keyboard.repeat-rate and keyboard.repeat-delay
Add option to let the users configure the keyboard repeat delay and rate. Also change the default values to mimic the Xorg, which is also the values used by default by the majority of the compositors. Fixes: #7
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 9fc4712e..db3f829f 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -3,6 +3,14 @@
input {
keyboard {
+ // Control the repeat rate of the keyboard.
+
+ // Repeat delay in milliseconds.
+ repeat-delay 660
+
+ // Repeat rate in characters per second.
+ repeat-rate 25
+
xkb {
// You can set rules, model, layout, variant and options.
// For more information, see xkeyboard-config(7).