my dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
323 B

#!/usr/bin/env bash
#
ids=$(xinput --list | awk -v search="WingCool" \
'$0 ~ search {match($0, /id=[0-9]+/);\
if (RSTART) \
print substr($0, RSTART+3, RLENGTH-3)\
}'\
)
for i in $ids
do
xinput set-prop $i --type=float "Coordinate Transformation Matrix" 0.584297018 0 0 0 1 0 0 0 1
done