Map to output script for wacom pen

This commit is contained in:
madmaurice 2015-08-11 11:12:23 +02:00
parent ffa00bb938
commit cd7ef7da2b

10
scripts/maptooutput.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
OUTPUT=${1:-LVDS1}
cd $(dirname $0)
IDS=$(./wacomdevices.sh)
for i in $IDS; do xsetwacom set $i MapToOutput $OUTPUT; done