This commit is contained in:
madmaurice 2015-10-08 10:31:53 +02:00
parent d4ffef45e9
commit b3be542fe4
35 changed files with 0 additions and 0 deletions

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

View file

@ -0,0 +1,18 @@
#!/bin/bash
cd $(dirname $0)
INTERN="LVDS1"
IDS=$(./wacomdevices.sh)
if [ "$1" == "on" ]; then
#xrandr --output $INTERN --rotate left
xrandr --output $INTERN --rotate inverted
for i in $IDS; do xsetwacom set $i Rotate half; done
else
#xrandr --output $INTERN --rotate left
xrandr --output $INTERN --rotate normal
for i in $IDS; do xsetwacom set $i Rotate none; done
fi

View file

@ -0,0 +1,3 @@
#!/bin/bash
xsetwacom list dev | awk -F'\t' '{print $2}' | cut -c 5-