From 9384be6e3ff40a800d639b221e0302256b3d442c Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Thu, 28 Nov 2024 13:34:04 +0100 Subject: [PATCH] Improve touchpad configuration in sway. --- linux_home/.config/sway/config | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/linux_home/.config/sway/config b/linux_home/.config/sway/config index ec12d54..6f30ac4 100644 --- a/linux_home/.config/sway/config +++ b/linux_home/.config/sway/config @@ -5,6 +5,21 @@ input * { xkb_options "caps:escape" } +input "type:touchpad" { + # Palm detection (disable when typing) + dwt enabled + + scroll_factor 0.2125 + scroll_method two_finger + natural_scroll enabled + + tap enabled + tap_button_map lrm + + # Cannot change base sensitivity, in sway accel and sensitivity are are intertwined :( + pointer_accel 0.225 +} + # Logo key. Use Mod1 for Alt. set $mod Mod4 # Your preferred terminal emulator