Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- id=$(xinput list | grep -i razer | grep pointer | awk '{print $6}' | cut -d = -f 2)
- ct=$(xinput list-props $id | grep -i "constant deceleration" | cut -d \( -f 2 | cut -d \) -f 1)
- ad=$(xinput list-props $id | grep -i "adaptive deceleration" | cut -d \( -f 2 | cut -d \) -f 1)
- xinput --set-prop $id $ct 8
- xinput --set-prop $id $ad 8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement