Improve touchpad configuration in sway.
This commit is contained in:
parent
368e86cea2
commit
9384be6e3f
1 changed files with 15 additions and 0 deletions
|
|
@ -5,6 +5,21 @@ input * {
|
||||||
xkb_options "caps:escape"
|
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.
|
# Logo key. Use Mod1 for Alt.
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
# Your preferred terminal emulator
|
# Your preferred terminal emulator
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue