From fa33e2b6490e749a3f3aa1550495ccdba89baedc Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Mon, 4 Mar 2024 17:15:54 +0100 Subject: [PATCH] sway: pointer accel --- modules/desktop/sway.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index acff2f8..84c68c4 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -13,6 +13,7 @@ wayland.windowManager.sway = { enable = true; config = { + # swaymsg -t get_inputs input = { "type:keyboard" = { xkb_layout = "us"; @@ -24,9 +25,13 @@ natural_scroll = "enable"; dwt = "disabled"; # don't disable-while-typing }; - "type:pointer" = { + "TODO" = { accel_profile = "flat"; - pointer_accel = "0.1"; # pointer SPEED, not acceleration + pointer_accel = "0.4"; # pointer SPEED, not acceleration + }; + "1133:16489:Logitech_MX_Master_2S" = { + accel_profile = "flat"; + pointer_accel = "0.1"; }; }; output = {