-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·27 lines (23 loc) · 824 Bytes
/
test.sh
File metadata and controls
executable file
·27 lines (23 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
./edgeSwipes | while read line; do
if [ "$line" = "Left" ]; then
/home/sevanteri/Copy/Workspace/python/pyqt5/tabletShortcuts/run.sh&
elif [ "$line" = "Tap_3" ]; then
if [ `xsetwacom --get 'Wacom ISDv4 E6 Finger touch' Touch` == "off" ]; then
xsetwacom --set 'Wacom ISDv4 E6 Finger touch' Touch on &
else
xsetwacom --set 'Wacom ISDv4 E6 Finger touch' Touch off &
fi
elif [ "$line" = "Right" ]; then
xdotool keydown alt key Tab keyup alt &
#elif [ "$line" = "Bottom" ]; then
#cellwriter &
elif [ "$line" = "Top" ]; then
monon=`xset q | grep "Monitor is"`
if [[ "$monon" =~ "Monitor is On" ]]; then
xset dpms force off & # blank screen
else
i3lock
fi
fi
done