blob: caa6053ed2db77c8bb06901cc18327dbe7487677 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
# All mice no acceleration
riverctl list-inputs | grep -i '^pointer' \
| xargs -I{} riverctl input {} accel-profile flat
setTouchpad() {
riverctl list-inputs | grep -i 'touchpad' | xargs -I{} riverctl input {} "$@"
}
# But it's okay for touchpads
setTouchpad accel-profile adaptive
setTouchpad pointer-accel .3
# Mac style two finger to right click
setTouchpad click-method clickfinger
# Tap click is buggy on some touchpads ( Notably my HP Elitebook )
setTouchpad tap disabled
# Thse are defaults, but I'm going to override them anyway:
setTouchpad scroll-method two-finger
setTouchpad natural-scroll disabled
setTouchpad middle-emulation enabled
|