git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit363b9d053b17350cef8540af3c121c2fd6b7b11b
parent3367519d41
authorIsaac Freund <[email protected]>
date2026-02-03 16:45
Keyboard: use more "normal" repeat info defaults

GNOME uses a default of 33.33/500
KDE and sway use 25/600
Weston uses 40/400

There obviously is no 100% correct answer here, I think Weston's
default feels best though so let's go with 40/400 for river.

 river/Keyboard.zig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/river/Keyboard.zig b/river/Keyboard.zig
index 0825497..037eb8d 100644
--- a/river/Keyboard.zig
+++ b/river/Keyboard.zig
@@ -21,9 +21,9 @@ const log = std.log.scoped(.input);
 pub const Config = struct {
     keymap: ?*xkb.Keymap,
     /// Repeat rate in characters per second
-    repeat_rate: u31 = 80,
+    repeat_rate: u31 = 40,
     /// Repeat delay in milliseconds
-    repeat_delay: u31 = 300,
+    repeat_delay: u31 = 400,
 };
 
 device: InputDevice,