configfiles/tablet/.config/scripts/maptooutput.sh

11 lines
139 B
Bash
Raw Permalink Normal View History

2015-08-11 11:12:23 +02:00
#!/bin/bash
OUTPUT=${1:-LVDS1}
cd $(dirname $0)
IDS=$(./wacomdevices.sh)
for i in $IDS; do xsetwacom set $i MapToOutput $OUTPUT; done