From 2be84d6571ce8ebdba9c74c82f3c37715abbe61a Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sat, 12 Aug 2023 15:49:21 +0200 Subject: [PATCH] fix input configuration for non-laptops --- modules/desktop/sway.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 1d1765d..e3e50b5 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -9,13 +9,12 @@ enable = true; config = { input = { - "*" = { - # Keyboard + "type:keyboard" = { xkb_layout = "us"; xkb_variant = "altgr-intl"; repeat_delay = "250"; - - # Trackpad + }; + "type:touchpad" = { tap = "enabled"; natural_scroll = "enable"; dwt = "disabled"; # don't disable-while-typing