-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
57 lines (33 loc) · 913 Bytes
/
setup.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
#!/bin/bash
sudo bash -c "echo '$(whoami) ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers"
sudo apt update && sudo apt upgrade
sudo apt install --fix-missing
sudo apt install i3 rofi feh xclip picom -y
sudo apt install alcritty zsh vim tmux -y
mkdir -p ~/.vpns
mkdir -p ~/.config/i3
mkdir -p ~/.config/rofi
echo "Setting configs"
cp configs/.tmux.conf ~/
cp configs/.config/i3/config ~/.config/i3/
cp -r configs/.config/alacritty ~/.config/
cp configs/.fegbg ~/.fegbg
tmux source ~/.tmux.conf
sudo apt install kali-wallpapers-all
git clone https://github.com/alacritty/alacritty-theme ~/.config/alacritty/themes
read -p "Reboot now (Y/n)" answer
if [ -z "$answer" ]; then
answer="yes"
fi
case $answer in
[yY] | [yY][eE][sS])
echo "Rebooting system now..."
sudo shutdown -r now
;;
[nN] | [nN][oO])
echo "System reboot cancelled."
;;
*)
echo ""
;;
esac