forked from B00merang-Project/Shell-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
to_unity.sh
executable file
·98 lines (72 loc) · 2.28 KB
/
to_unity.sh
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/bin/bash
# ---- Close ---- #
# close focused
cfn='close-focused-normal.png'
# close focused:hover
cfh='close-focused-active.png'
# close focused:active
cfa='close-focused-pressed.png'
# close unfocused
cun='close-unfocused-normal.png'
# ---- Minimize ---- #
# minimize focused
mfn='minimize-focused-normal.png'
# minimize focused:hover
mfh='minimize-focused-active.png'
# minimize focused:active
mfa='minimize-focused-pressed.png'
# minimize unfocused
mun='minimize-unfocused-normal.png'
# ---- Maximize ---- #
# maximize focused
mxfn='maximize-focused-normal.png'
# maximize focused:hover
mxfh='maximize-focused-active.png'
# maximize focused:active
mxfa='maximize-focused-pressed.png'
# maximize unfocused
mxun='maximize-unfocused-normal.png'
# ---- Restore ---- #
# restore focused
rfn='restore-focused-normal.png'
# restore focused:hover
rfh='restore-focused-active.png'
# restore focused:active
rfa='restore-focused-pressed.png'
# restore unfocused
run='restore-unfocused-normal.png'
# ---- Execution ---- #
# make unity folder
mkdir unity
# copy & rename files (close)
cp $cfn unity/close.png
cp $cfn unity/close_focused_normal.png
cp $cfh unity/close_focused_prelight.png
cp $cfa unity/close_focused_pressed.png
cp $cun unity/close_unfocused.png
cp $cfh unity/close_unfocused_prelight.png
cp $cfa unity/close_unfocused_pressed.png
# copy & rename files (maximize)
cp $mxfn unity/maximize.png
cp $mxfn unity/maximize_focused_normal.png
cp $mxfh unity/maximize_focused_prelight.png
cp $mxfa unity/maximize_focused_pressed.png
cp $mxun unity/maximize_unfocused.png
cp $mxfh unity/maximize_unfocused_prelight.png
cp $mxfa unity/maximize_unfocused_pressed.png
# copy & rename files (minimize)
cp $mfn unity/minimize.png
cp $mfn unity/minimize_focused_normal.png
cp $mfh unity/minimize_focused_prelight.png
cp $mfa unity/minimize_focused_pressed.png
cp $mun unity/minimize_unfocused.png
cp $mfh unity/minimize_unfocused_prelight.png
cp $mfa unity/minimize_unfocused_pressed.png
# copy & rename files (restore)
cp $rfn unity/unmaximize.png
cp $rfn unity/unmaximize_focused_normal.png
cp $rfh unity/unmaximize_focused_prelight.png
cp $rfa unity/unmaximize_focused_pressed.png
cp $run unity/unmaximize_unfocused.png
cp $rfh unity/unmaximize_unfocused_prelight.png
cp $rfa unity/unmaximize_unfocused_pressed.png