-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.sh
executable file
·60 lines (57 loc) · 1.25 KB
/
install.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
#!/bin/bash
function addtoSys(){
sudo cp -r Anime /usr/share/sddm/themes/
sudo sed -i "s/^Current=.*/Current=Anime/g" /etc/sddm.conf.d/theme.conf
sudo sed -i "s/^Current=.*/Current=Anime/g" /etc/sddm.conf
echo "Theme Installed successfully"
}
function setBackground(){
printf "Select a Background : \n"
options=("Itachi" "Baruto" "solo-leveling" "jujutsu-kaisen" "art-1" "art-2" "forest")
select opt in "${options[@]}";do
case $opt in
Itachi)
cp Asset/itachi.jpg Anime/background.jpg
addtoSys
break
;;
Baruto)
cp Asset/baruto.jpg Anime/background.jpg
sudo cp -r Anime /usr/share/sddm/themes/
addtoSys
break
;;
solo-leveling)
cp Asset/solo-leveling.jpg Anime/background.jpg
addtoSys
break
;;
jujutsu-kaisen)
cp Asset/jujutsu-kaisen.jpg Anime/background.jpg
addtoSys
break
;;
art-1)
cp Asset/art-1.jpg Anime/background.jpg
addtoSys
break
;;
art-2)
cp Asset/art-2.jpg Anime/background.jpg
addtoSys
break
;;
forest)
cp Asset/forest.jpg Anime/background.jpg
addtoSys
break
;;
*)
printf "[*]Please select an image "
break
;;
esac
done
}
setBackground
#https://github.com/shinas101