#!/bin/sh # All mice no acceleration riverctl list-inputs | grep -i '^pointer' \ | xargs -I{} riverctl input {} accel-profile flat setTouchpad() { riverctl list-inputs | grep -iE 'touchpad|^pointer-.*bcm' \ | 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