From 3a5248933077f16a2bc4472488a8f25df0618aca Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 16 Sep 2023 20:01:52 +0400 Subject: Change default repeat to 600 660 comes from Xorg, but feels kind of slow. The wlroots and sway default is 600, which is a little better. The 25 repeat interval matches between Xorg (where it is defined in terms of interval, rather than rate) and wlroots. --- resources/default-config.kdl | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'resources') diff --git a/resources/default-config.kdl b/resources/default-config.kdl index db3f829f..25a29e58 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -3,14 +3,6 @@ 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). @@ -19,6 +11,11 @@ input { // layout "us,ru" // options "grp:win_space_toggle,compose:ralt,ctrl:nocaps" } + + // You can set the keyboard repeat parameters. The defaults match wlroots and sway. + // Delay is in milliseconds before the repeat starts. Rate is in characters per second. + // repeat-delay 600 + // repeat-rate 25 } // Next sections contain libinput settings. -- cgit