configfiles/scripts/maptooutput.sh

11 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