From 44d6f8bb493a9231a009eeada2a5095467e73723 Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 18 Jan 2025 07:34:25 -0600 Subject: [PATCH] keyboard: lower repeat delay and rate Signed-off-by: Myned --- options/custom/desktops/hyprland/settings.nix | 4 ++-- options/custom/desktops/niri/input.nix | 4 ++-- options/custom/desktops/sway/input.nix | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/options/custom/desktops/hyprland/settings.nix b/options/custom/desktops/hyprland/settings.nix index 23444ae..c8e3c4d 100644 --- a/options/custom/desktops/hyprland/settings.nix +++ b/options/custom/desktops/hyprland/settings.nix @@ -214,8 +214,8 @@ in { # https://github.com/hyprwm/Hyprland/issues/8057 mouse_refocus = false; # Required to focus last window on close - repeat_delay = 300; - repeat_rate = 40; + repeat_delay = 250; + repeat_rate = 30; sensitivity = 0.5; #// scroll_factor = 0.75; special_fallthrough = true; # Focus windows under special workspace diff --git a/options/custom/desktops/niri/input.nix b/options/custom/desktops/niri/input.nix index 2d5846e..afbb987 100644 --- a/options/custom/desktops/niri/input.nix +++ b/options/custom/desktops/niri/input.nix @@ -29,8 +29,8 @@ in { # https://github.com/sodiboo/niri-flake/blob/main/docs.md#programsnirisettingsinputkeyboardrepeat-delay keyboard = { - repeat-delay = 300; - repeat-rate = 40; + repeat-delay = 250; + repeat-rate = 30; }; # BUG: Applies to trackball device, switch to "flat" when per-device configuration is supported diff --git a/options/custom/desktops/sway/input.nix b/options/custom/desktops/sway/input.nix index fa8f0f3..2fdc702 100644 --- a/options/custom/desktops/sway/input.nix +++ b/options/custom/desktops/sway/input.nix @@ -20,8 +20,8 @@ in { input = { # Keyboard "type:keyboard" = { - repeat_delay = "400"; - repeat_rate = "40"; + repeat_delay = "250"; + repeat_rate = "30"; }; # Mouse