-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstallMyConky.sh
62 lines (56 loc) · 1.02 KB
/
installMyConky.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
#!/bin/sh
clear
install=0
echo "
________________
| Install conkyrc
|_________________________________
| Quel est votre choix de couleur?
|__________
| 1 | Basic
| 2 | Aqua
| 3 | Rouge
| 4 | Cosmic
| Q | Exit
"
read -r choixColor
if [ "$choixColor" = "1" ]; then
cp ColorConky/conkyrc ~/
mv ~/conkyrc ~/.conkyrc
install=1
elif [ "$choixColor" = "2" ]; then
cp ColorConky/conkyrc_cyan ~/
mv ~/conkyrc_cyan ~/.conkyrc
install=1
elif [ "$choixColor" = "3" ]; then
cp ColorConky/conkyrc_red ~/
mv ~/conkyrc_red ~/.conkyrc
install=1
elif [ "$choixColor" = "4" ]; then
cp ColorConky/conkyrcCosmic ~/
mv ~/conkyrcCosmic ~/.conkyrc
install=1
else
echo "
_________________
| Fin de programme
"
fi
if [ "$verif" = "1" ]; then
echo "
_____________________
| Install conkyrc | OK
"
fi
#Installation autostart Gnome 3 / 4
echo "
__________________
| Install autostart
"
cp Lanceur/myConky.desktop ~/.config/autostart/
#Lancement de myConky
cd /usr/bin/ && ./conky
echo "
_______________________
| Install autostart | OK
"