From dc7845a7b9b77b76d2c406f9ec0f8db3089f4364 Mon Sep 17 00:00:00 2001 From: rope Date: Mon, 18 May 2026 17:11:52 +0100 Subject: [PATCH] macbook: disable touchpad while typing The bcm5974 trackpad is classified as a mouse by Hyprland, not a touchpad, so the global touchpad DWT setting had no effect. Use a per-device config block to apply disable_while_typing directly to the bcm5974. Co-Authored-By: Claude Opus 4.6 --- settings/hyprland.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 7624b6d..e2a7864 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -146,6 +146,14 @@ in tap_to_click = true; tap_button_map = "lrm"; natural_scroll = true; + }; + }; + + device = lib.optionalAttrs isMacbook { + "bcm5974" = { + sensitivity = 0; + accel_profile = "flat"; + natural_scroll = true; disable_while_typing = true; }; };