From de922767bee1ee2f8a4d19ac9d58194585c090d8 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Mon, 19 Sep 2022 17:39:21 +0800 Subject: [PATCH] Add trackpoint config. --- .config/sway/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index 5b60720..a23c88b 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -96,6 +96,10 @@ exec swayidle -w \ xkb_variant "colemak" xkb_options "caps:ctrl_modifier,altwin:swap_alt_win" } + input 2:10:TPPS/2_Elan_TrackPoint { + accel_profile "flat" + pointer_accel 1 + } # You can get the names of your inputs by running: swaymsg -t get_inputs # Read `man 5 sway-input` for more information about this section. @@ -310,7 +314,6 @@ bindsym $mod+Control+h gaps horizontal current plus 200 bindsym $mod+Control+l gaps horizontal current minus 200 bindsym $mod+shift+f gaps horizontal current toggle 400 -gaps inner 5 smart_gaps inverse_outer default_border pixel 3