#!/bin/sh riverctl set-repeat 50 180 riverctl keyboard-layout -options ctrl:nocaps us for device in $(riverctl list-inputs | grep -i touchpad); do riverctl input "$device" tap-button-map left-right-middle riverctl input "$device" tap enabled riverctl input "$device" scroll-method two-finger riverctl input "$device" natural-scroll enabled riverctl input "$device" drag enabled riverctl input "$device" disable-while-typing disabled done