Add trackpoint config.

This commit is contained in:
Sheldon Lee 2022-09-19 17:39:21 +08:00
parent 8f2a52fb08
commit de922767be

View File

@ -96,6 +96,10 @@ exec swayidle -w \
xkb_variant "colemak" xkb_variant "colemak"
xkb_options "caps:ctrl_modifier,altwin:swap_alt_win" 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 # 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. # 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+Control+l gaps horizontal current minus 200
bindsym $mod+shift+f gaps horizontal current toggle 400 bindsym $mod+shift+f gaps horizontal current toggle 400
gaps inner 5
smart_gaps inverse_outer smart_gaps inverse_outer
default_border pixel 3 default_border pixel 3