Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- if [ -z "$1" ]
- then
- echo "No argument supplied"
- else
- export DISPLAY=$1
- fi
- if pgrep Xorg > /dev/null
- then
- /usr/local/bin/mapwacom.sh --device-regex="Wacom One by Wacom S Pen [se].*" --screen="DisplayPort-0"
- echo "The tablet is now mapped"
- else
- echo "No Xorg running"
- fi
Add Comment
Please, Sign In to add comment