-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
122 lines (104 loc) · 3.95 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
##updating
echo "####################################################################"
echo "## Updating the system to avoid errors 'dialog' if not installed ###"
echo "####################################################################"
while true; do
read -p "Do you wish to update your system? (Yy/Nn)" yn
case $yn in
[Yy]* ) sudo pacman --noconfirm --needed -Syu
break;;
[Nn]* ) echo "Ok cool";
break;;
* ) echo "Please answer yes or no.";;
esac
done
echo '##chaotic AUR####'
chmod +x chaotic.sh
while true; do
read -p "Do you wish to install chaotic-aur? (Yy/Nn)" yn
case $yn in
[Yy]* ) ~/my-xfce4-dotfiles/chaotic.sh
break;;
[Nn]* ) echo "Ok cool";
break;;
* ) echo "Please answer yes or no.";;
esac
done
echo 'chaotic aur installed lets update pacman and download some theme, icons & cursors'
sudo pacman -Syyu
echo '## fonts and gtk themes icons etc'
sudo pacman -Rcns grml-zsh-config
# Let's install each package listed in the pkglist.txt file.
sudo pacman -S xarchiver dool mint-l-icons p7zip make qogir-gtk-theme-git mpv qogir-icon-theme mint-themes mint-y-icons vimix-cursors vimix-gtk-themes vimix-icon-theme whitesur-gtk-theme arc-gtk-theme-git arc-solid-gtk-theme fluent-cursor-theme-git cutefish-icons nordic-darker-theme nordic-darker-theme lsd awesome-terminal-fonts ttf-iosevka-nerd xfce4-goodies papirus-icon-theme breeze-icons cantarell-fonts ttf-fira-code ttf-meslo-nerd-font-powerlevel10k ttf-meslo-nerd-font-powerlevel10k xterm polybar-git everforest-gtk-theme-git gruvbox-material-gtk-theme-git gruvbox-material-icon-theme-git paru
paru -S picom-ftlabs-git
echo '##xfwm4 themes https://github.com/addy-dclxvi/Xfwm4-Theme-Collections##'
git clone https://github.com/addy-dclxvi/Xfwm4-Theme-Collections ~/.themes
cd && 7z x ~/my-xfce4-dotfiles/themes.7z
echo '### syncing repo ###'
chmod +x ~/my-xfce4-dotfiles/dotfiles-sync.sh
chmod +x ~/my-xfce4-dotfiles/whoami.sh
while true; do
read -p "Do you wish to copy my dotfiles? Your data will be backed up (Yy/Nn)" yn
case $yn in
[Yy]* ) ~/my-xfce4-dotfiles/dotfiles-sync.sh
break;;
[Nn]* ) echo "Ok cool";
break;;
* ) echo "Please answer yes or no.";;
esac
done
echo '### syncing repos ###'
while true; do
read -p "Do you wish to sync my dotfiles? (Yy/Nn)" yn
case $yn in
[Yy]* ) ~/my-xfce4-dotfiles/whoami.sh
break;;
[Nn]* ) echo "Ok cool";
break;;
* ) echo "Please answer yes or no.";;
esac
done
echo 'customizing vim'
chmod +x ~/my-xfce4-dotfiles/vim-customization.sh
while true; do
read -p "Do you wish to customize vim? (Yy/Nn)" yn
case $yn in
[Yy]* ) ~/my-xfce4-dotfiles/vim-customization.sh
break;;
[Nn]* ) echo "Ok cool";
break;;
* ) echo "Please answer yes or no.";;
esac
done
echo 'installing zsh'
chmod +x ~/my-xfce4-dotfiles/oh-my-zsh.sh
while true; do
read -p "Do you wish to install zsh? (Yy/Nn)" yn
case $yn in
[Yy]* ) ~/my-xfce4-dotfiles/oh-my-zsh.sh
break;;
[Nn]* ) echo "Ok cool";
break;;
* ) echo "Please answer yes or no.";;
esac
done
echo '## starship prompt zsh I just like it better###'
sudo pacman -S starship
## mpv screenshot directory
mkdir -pv ~/Pictures/mpv && cp -r /usr/share/doc/mpv/ ~/.config/
echo 'screenshot-directory="~/Pictures/mpv/"' | tee -a ~/.config/mpv/mpv.conf
##for xterm or urxvt
xrdb merge ~/.Xresources
echo 'installing shell color-scripts'
chmod +x ~/my-xfce4-dotfiles/shell-color-scripts.sh
while true; do
read -p "Do you wish to install few shell-color-scripts? (Yy/Nn)" yn
case $yn in
[Yy]* ) ~/my-xfce4-dotfiles/shell-color-scripts.sh
break;;
[Nn]* ) echo "Ok cool";
break;;
* ) echo "Please answer yes or no.";;
esac
done
echo '##DONE##'