Skip to content

Instantly share code, notes, and snippets.

@maralorn
Created April 6, 2013 17:35
Show Gist options
  • Save maralorn/5326913 to your computer and use it in GitHub Desktop.
Save maralorn/5326913 to your computer and use it in GitHub Desktop.
#!/bin/sh
set $*
export DISPLAY=:0.0
export XAUTHORITY=/home/maralorn/.Xauthority
case "$1" in
ibm/hotkey)
case "$4" in
0000500b)
xinput set-prop "Wacom ISDv4 E6 Finger touch" "Device Enabled" 1
;;
0000500c)
xinput set-prop "Wacom ISDv4 E6 Finger touch" "Device Enabled" 0
;;
esac
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment