This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export LANG="fr_FR.UTF-8" | |
## Pad | |
PAD="Wacom Intuos PT M Finger pad" | |
xsetwacom set "$PAD" Button 3 "key Ctrl Super T" #up left button ## configured as touch switch - Ctrl Super T is set to call Touch switch script in the OS | |
xsetwacom set "$PAD" Button 1 "key super" #bottom left button ## configured as "Menu" | |
xsetwacom set "$PAD" Button 9 "key Ctrl Z" #top right button ## configured as "Undo" | |
xsetwacom set "$PAD" Button 8 "key Ctrl Y" #bottom right button ## configured as "Redo" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Get the "Device name" or ID number | |
## for touch from 'xsetwacom list dev' | |
DEVICE="Wacom Intuos PT M Finger touch" | |
TOUCH_STATE=`xsetwacom get "$DEVICE" touch` | |
if [ "$TOUCH_STATE" == "on" ] | |
then | |
echo "Touch is ON, turning OFF." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Required commands : | |
# - optipng | |
# - jpegoptim | |
# optipng (non destructive) | |
optipng *.png | |
optipng *.PNG |
NewerOlder