blob: a67b06a6b9e09d9dd14a0d0571c16635c59ee820 (
plain) (
blame)
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
|
--- install.sh.orig 2023-02-27 08:02:22 UTC
+++ install.sh
@@ -637,18 +637,13 @@ tweaks_temp() {
cp -rf ${SRC_DIR}/src/_sass/_tweaks.scss ${SRC_DIR}/src/_sass/_tweaks-temp.scss
}
-install_image() {
- sed -i "/\$background:/s/default/image/" ${SRC_DIR}/src/_sass/_tweaks-temp.scss
- echo -e "Install Nautilus with background image version ..."
-}
-
install_win_titlebutton() {
- sed -i "/\$titlebutton:/s/circle/square/" ${SRC_DIR}/src/_sass/_tweaks-temp.scss
+ sed -i "" -e "s/titlebutton: 'circle/titlebutton: 'square/" ${SRC_DIR}/src/_sass/_tweaks-temp.scss
echo -e "Install Square titlebutton version ..."
}
install_round_window() {
- sed -i "/\$window:/s/default/round/" ${SRC_DIR}/src/_sass/_tweaks-temp.scss
+ sed -i "" -e "s/window: 'default/window: 'round/" ${SRC_DIR}/src/_sass/_tweaks-temp.scss
echo -e "Install Round window version ..."
}
@@ -662,7 +657,7 @@ install_theme_color() {
theme_color='ubuntu'
;;
esac
- sed -i "/\$theme:/s/default/${theme_color}/" ${SRC_DIR}/src/_sass/_tweaks-temp.scss
+ sed -i "" -e "s/theme: 'default/theme: '${theme_color}/" ${SRC_DIR}/src/_sass/_tweaks-temp.scss
fi
}
@@ -672,10 +667,6 @@ theme_tweaks() {
install_css_deps; tweaks_temp
fi
- if [[ "$image" == "true" ]] ; then
- install_image
- fi
-
if [[ "$square" == "true" ]] ; then
install_win_titlebutton
fi
@@ -716,8 +707,6 @@ uninstall_theme() {
done
done
}
-
-./clean-old-theme.sh
if [[ "${gdm:-}" != 'true' && "${remove:-}" != 'true' ]]; then
install_theme
|