From 38a5b3cbb1ae41ffb93739f277828c17bae38a88 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 16 Apr 2024 21:08:58 +0200 Subject: [PATCH] Switch the laptop touchpad to the adaptive accel profile --- modules/home/de/hyprland/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/home/de/hyprland/default.nix b/modules/home/de/hyprland/default.nix index 88aee4c..f705c18 100644 --- a/modules/home/de/hyprland/default.nix +++ b/modules/home/de/hyprland/default.nix @@ -37,12 +37,16 @@ in { kb_variant = "nodeadkeys"; accel_profile = "flat"; + }; - touchpad = { - disable_while_typing = true; - natural_scroll = true; - middle_button_emulation = true; - }; + input.touchpad = { + disable_while_typing = true; + natural_scroll = true; + middle_button_emulation = true; + }; + device = { + name = "dell0b9f:00-27c6:0d43-touchpad"; + accel_profile = "adaptive"; }; general = {