Advertisement
Guest User

topkek, le master script toggle touch

a guest
Aug 28th, 2014
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.34 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. status=$(xsetwacom --get "Wacom Intuos Pro M (WL) Finger touch" touch)
  4. if
  5.     [ $status == "on" ]
  6. then
  7.     notify-send "Tablet Touch" "OFF"
  8.     xsetwacom --set "Wacom Intuos Pro M (WL) Finger touch" touch off
  9. else
  10.     notify-send "Tablet Touch" "ON"
  11.     xsetwacom --set "Wacom Intuos Pro M (WL) Finger touch" touch on
  12. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement