-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.sh
36 lines (27 loc) · 918 Bytes
/
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
#!/bin/bash
read -p "Do you want to install Arian theme for Plank?" answer
PLANK_DIR="$HOME/.local/share/plank/themes"
case "$answer" in
[yY][eE][sS]|[yY]|"")
echo "Installing... Please wait!"
if [ -d $PLANK_DIR ]; then
cp -Ri ./"Arian Theme" $PLANK_DIR && cp -Ri ./"Arian Theme Light" $PLANK_DIR
echo "Done!"
read -p "Arian theme for Plank has been installed successfully! Do you want to open Plank preferences?" answer
case "$answer" in
[yY][eE][sS]|[yY]|"")
plank --preferences
echo "Finish! Enjoy it :)"
;;
*)
esac
else
echo "Couldn't find $PLANK_DIR"
echo "Please Make sure Plank Dock is installed properly"
echo "For Arch-based distros: Try 'sudo pacman -S plank'"
echo "In Debian-based distros: Try 'sudo apt install plank'"
exit 1
fi
;;
*)
esac