-
Notifications
You must be signed in to change notification settings - Fork 0
/
workboy
executable file
·39 lines (33 loc) · 1.12 KB
/
workboy
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
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
win=0x2600006
sleep 1
xdotool key --clearmodifiers --window $win alt+4 9 9 9 9 9 9
for((i=0;$i<=10;i=$(($i+1))));do
xdotool key --clearmodifiers --window $win alt+1 0 9 8 7 6 5 4 3
xdotool key --clearmodifiers --window $win alt+2 1 2 3 4 5 6 7 8 9 0
sleep 1
done
xdotool key --clearmodifiers --window $win alt+4 9 9 9 9 9 9
for((i=0;$i<=10;i=$(($i+1))));do
xdotool key --clearmodifiers --window $win alt+1 0 9 8 7 6 5 4 3
xdotool key --clearmodifiers --window $win alt+2 1 2 3 4 5 6 7 8 9 0
sleep 1
done
for((i=0;$i<=10000;i=$(($i+1))));do
for((i=0;$i<=60;i=$(($i+1))));do
xdotool key --clearmodifiers --window $win alt+4 8
for((i=0;$i<=10;i=$(($i+1))));do
xdotool key --clearmodifiers --window $win alt+1 0 9 8 7 6 5 4 3
xdotool key --clearmodifiers --window $win alt+2 1 2 3 4 5 6 7 8 9 0
sleep 1
done
done
for((i=0;$i<=5;i=$(($i+1))));do
xdotool key --clearmodifiers --window $win alt+4 9 9 9 9 9 9
for((i=0;$i<=10;i=$(($i+1))));do
xdotool key --clearmodifiers --window $win alt+1 0 9 8 7 6 5 4 3
xdotool key --clearmodifiers --window $win alt+2 1 2 3 4 5 6 7 8 9 0
sleep 1
done
done
done