-
Notifications
You must be signed in to change notification settings - Fork 1
/
recolor.sh
executable file
·56 lines (48 loc) · 902 Bytes
/
recolor.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
#!/bin/bash
set -x
## Adwaita color
#1862af
#3465a4
#2c1cff
#0000ff
#205b9a
#215d9c
#184472
#4a90d9
#74aae2
#2a76c6
## rgba(33, 93, 156, 0.7)
## rgba(33, 93, 156, 0.5)
#1c5187
#256ab1
#4a90d9
#182f4c
#2975c4
#4a90d9
#006098
#205b9a
cd theme
find . -type f -name '*.svg' -exec sed -i \
"s/#2c1cff/#16a085/Ig;\
s/#0000ff/#16a085/Ig;\
s/#1862af/#64FFA4/Ig;\
s/#3465a4/#64FFA4/Ig;\
s/#182f4c/#16a085/Ig;\
s/#2975c4/#16a085/Ig;\
s/#4a90d9/#16a085/Ig;\
s/#006098/#16a085/Ig;\
s/#15539e/#16a085/Ig;\
s/205b9a/#64FFA4/Ig" {} \;
find . -type f -name '*.css' -exec sed -i \
"s/#15539e/#16a085/Ig;\
s/#0f3b71/#138f76;/Ig;\
s/#3583e3/#16a085/Ig;\
s/#629fea/#16a085/Ig;\
s/#1c5187/#16a085/Ig;\
s/#3584e4/#16a085/Ig;\
s/#4a90d9/#16a085/Ig;\
s/#185fb4/#16a085/Ig;\
s/#1b6acb/#16a085/Ig;\
s/21, 83, 158/22, 160, 133/Ig" {} \;
glib-compile-resources gnome-shell-theme.gresource.xml
cd ../