-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
38 lines (36 loc) · 901 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
37
38
#!/bin/sh
mkdir download
cd download
git clone https://github.com/theKapcioszek/dwm
curl https://dl.suckless.org/tools/dmenu-5.2.tar.gz -o dmenu-5.2.tar.gz
git clone https://git.suckless.org/slstatus
git clone https://github.com/LukeSmithxyz/st
tar -zxvf dwm-6.4.tar.gz
tar -zxvf dmenu-5.2.tar.gz
sudo cp ../configs/dwm/config.h dwm/
sudo cp ../configs/dmenu/config.h dmenu-5.2/
sudo cp ../configs/slstatus/config.h slstatus/
sudo cp ../configs/st/config.h st/
cd dwm/
make clean && sudo make install
cd ..
cd dmenu-5.2
make clean && sudo make install
cd ..
cd slstatus
make clean && sudo make install
cd ..
cd st
make clean && sudo make install
cd .. && cd ..
echo "Copy .Xresources to home directory? [y/n]"
read agree
if [ "$agree" = "y" ]; then
cp .Xresources ~/
fi
echo "Copy .xinitrc to home directory? [y/n]"
read agree
if [ "$agree" = "y" ]; then
cp .xinitrc ~/
fi
echo "finished!"