-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLiwSetup.sh
45 lines (37 loc) · 1.08 KB
/
LiwSetup.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
#!/bin/bash
echo "-i To install the theme"
echo "-u To uninstall the theme"
while getopts iu name
do
case $name in
i)iopt=1;;
u)uopt=1;;
*)echo "Invalid argument";;
esac
done
if [[ ! -z $uopt ]]
then
sudo rm -r ~/.themes/WhiteSur-light
sudo rm -r ~/.icons/Win10Sur
gnome-extensions uninstall [email protected]
gnome-extensions uninstall [email protected]
gnome-extensions uninstall [email protected]
fi
if [[ ! -z $iopt ]]
then
sudo mkdir ~/.themes
git clone https://github.com/vinceliuice/WhiteSur-gtk-theme.git
cd WhiteSur-gtk-theme
bash ./install.sh
gsettings set org.gnome.desktop.interface gtk-theme "WhiteSur-light"
gsettings set org.gnome.shell.extensions.user-theme name "WhiteSur-light"
cd ../
sudo mkdir ~/.icons
git clone https://github.com/yeyushengfan258/Win10Sur-icon-theme.git
cd Win10Sur-icon-theme
bash ./install.sh
gsettings set org.gnome.desktop.interface icon-theme "Win10Sur"
cd ../
./install-gnome-extensions.sh --enable --file links.txt
fi
shift $(($OPTIND -1))