Last active
February 14, 2024 06:20
-
-
Save Ethorbit/fe666bda2e2d486890fa8d9f2bc1b27f to your computer and use it in GitHub Desktop.
Sets xinput acceleration for all mice devices of the same name, in this case 'Razer Razer DeathAdder V2'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for xinput_id in $(xinput list | grep 'Razer Razer DeathAdder V2' | grep -o 'id=[0-9]*' | cut -c 4-); do | |
xinput --set-prop "$xinput_id" "libinput Accel Speed" -0.7 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment