From cd7ef7da2b6d2690e1210fe4353b87830744e6b6 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Tue, 11 Aug 2015 11:12:23 +0200 Subject: [PATCH] Map to output script for wacom pen --- scripts/maptooutput.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/maptooutput.sh diff --git a/scripts/maptooutput.sh b/scripts/maptooutput.sh new file mode 100755 index 0000000..d2c31f7 --- /dev/null +++ b/scripts/maptooutput.sh @@ -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 +