configfiles/tablet/.config/scripts/maptooutput.sh
2015-10-08 10:31:53 +02:00

10 lines
139 B
Bash
Executable file

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