Guest User

Untitled

a guest
Nov 19th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #!/bin/sh
  2. if [ -z "$1" ]
  3. then
  4. echo "No argument supplied"
  5. else
  6. export DISPLAY=$1
  7. fi
  8.  
  9. if pgrep Xorg > /dev/null
  10. then
  11. /usr/local/bin/mapwacom.sh --device-regex="Wacom One by Wacom S Pen [se].*" --screen="DisplayPort-0"
  12. echo "The tablet is now mapped"
  13. else
  14. echo "No Xorg running"
  15. fi
Add Comment
Please, Sign In to add comment