1 | #!/bin/sh |
---|
2 | |
---|
3 | tx() { |
---|
4 | terminix "$@" |
---|
5 | sleep 0.5 |
---|
6 | } |
---|
7 | |
---|
8 | xd1() { |
---|
9 | xdotool key Down Down Down Down Insert Insert Insert Insert |
---|
10 | } |
---|
11 | xd2() { |
---|
12 | xdotool key F9 l Down Down |
---|
13 | } |
---|
14 | xd3() { |
---|
15 | xdotool key Down F5 Down Down |
---|
16 | } |
---|
17 | xd4() { |
---|
18 | xdotool key F5 |
---|
19 | } |
---|
20 | |
---|
21 | spring="mc -S seasons-spring16M /bin /etc" |
---|
22 | summer="mc -S seasons-summer16M /bin /etc" |
---|
23 | autumn="mc -S seasons-autumn16M /bin /etc" |
---|
24 | winter="mc -S seasons-winter16M /bin /etc" |
---|
25 | |
---|
26 | terminix --geometry 80x72 -x "$spring" & |
---|
27 | sleep 1.5 |
---|
28 | xd1 |
---|
29 | tx -a session-add-down -x "$spring" |
---|
30 | xd2 |
---|
31 | tx -a session-add-down -x "$spring" |
---|
32 | xd3 |
---|
33 | tx -a session-add-down -x "$spring" |
---|
34 | xd4 |
---|
35 | |
---|
36 | tx -a session-switch-to-terminal-up |
---|
37 | tx -a session-switch-to-terminal-up |
---|
38 | tx -a session-switch-to-terminal-up |
---|
39 | |
---|
40 | tx -a session-add-right -x "$summer" |
---|
41 | xd1 |
---|
42 | tx -a session-switch-to-terminal-down |
---|
43 | tx -a session-add-right -x "$summer" |
---|
44 | xd2 |
---|
45 | tx -a session-switch-to-terminal-down |
---|
46 | tx -a session-add-right -x "$summer" |
---|
47 | xd3 |
---|
48 | tx -a session-switch-to-terminal-down |
---|
49 | tx -a session-add-right -x "$summer" |
---|
50 | xd4 |
---|
51 | |
---|
52 | tx -a session-switch-to-terminal-up |
---|
53 | tx -a session-switch-to-terminal-up |
---|
54 | tx -a session-switch-to-terminal-up |
---|
55 | |
---|
56 | tx -a session-add-right -x "$autumn" |
---|
57 | xd1 |
---|
58 | tx -a session-switch-to-terminal-down |
---|
59 | tx -a session-add-right -x "$autumn" |
---|
60 | xd2 |
---|
61 | tx -a session-switch-to-terminal-down |
---|
62 | tx -a session-add-right -x "$autumn" |
---|
63 | xd3 |
---|
64 | tx -a session-switch-to-terminal-down |
---|
65 | tx -a session-add-right -x "$autumn" |
---|
66 | xd4 |
---|
67 | |
---|
68 | tx -a session-switch-to-terminal-up |
---|
69 | tx -a session-switch-to-terminal-up |
---|
70 | tx -a session-switch-to-terminal-up |
---|
71 | |
---|
72 | tx -a session-add-right -x "$winter" |
---|
73 | xd1 |
---|
74 | tx -a session-switch-to-terminal-down |
---|
75 | tx -a session-add-right -x "$winter" |
---|
76 | xd2 |
---|
77 | tx -a session-switch-to-terminal-down |
---|
78 | tx -a session-add-right -x "$winter" |
---|
79 | xd3 |
---|
80 | tx -a session-switch-to-terminal-down |
---|
81 | tx -a session-add-right -x "$winter" |
---|
82 | xd4 |
---|