diff --git a/ubuntu/install-dwm.sh b/ubuntu/install-dwm.sh new file mode 100644 index 0000000..55d0d22 --- /dev/null +++ b/ubuntu/install-dwm.sh @@ -0,0 +1,19 @@ +#!/bin/bash + + +# install dependencies +sudo apt install build-essential xorg libx11-dev libxft-dev libxinerama-dev trayer + +mkdir -p ~/Projects/suckless + +git clone https://gitee.com/klesh/st.git ~/Projects/suckless/st +cd ~/Projects/suckless/st && sudo rm -f config.h && sudo make clean install + +git clone https://gitee.com/klesh/dmenu.git ~/Projects/suckless/dmenu +cd ~/Projects/suckless/dmenu && sudo rm -f config.h && sudo make clean install + +git clone https://gitee.com/klesh/slock.git ~/Projects/suckless/slock +cd ~/Projects/suckless/slock && sudo rm -f config.h && sudo make clean install + +git clone https://gitee.com/klesh/dwm.git ~/Projects/suckless/dwm +cd ~/Projects/suckless/dwm && sudo rm -f config.h && sudo make clean install