dotfiles/scripts/mousestart

7 lines
303 B
Plaintext
Raw Permalink Normal View History

2020-11-09 06:51:10 +01:00
#! /bin/sh
for id in $(xinput --list |grep 'Razer Razer Naga Hex .* pointer'|sed 's/.*id=\([0-9]*\).*/\1/')
do
#echo "setting device ID $id"
xinput --set-prop $id 'Coordinate Transformation Matrix' 0.500000, 0.000000, 0.000000, 0.000000, 0.500000, 0.000000, 0.000000, 0.000000, 1.000000
2020-11-09 06:51:10 +01:00
done