From a4e3199b6d190bda976aaa55d7a51893bdd4ed8c Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Fri, 25 Nov 2022 22:14:55 -0500 Subject: [PATCH] Disable mouse acceleration --- home-manager/linux/programs/sway.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home-manager/linux/programs/sway.nix b/home-manager/linux/programs/sway.nix index 24fe825..0ade633 100644 --- a/home-manager/linux/programs/sway.nix +++ b/home-manager/linux/programs/sway.nix @@ -165,7 +165,10 @@ in with lib; { { command = "mako"; } ]; # Turn on numlock by default - input = { "*" = { xkb_numlock = "enable"; }; }; + input = { + "*" = { xkb_numlock = "enable"; }; + "type:pointer" = { accel_profile = "flat"; }; + }; }; }; #########################