[feature] setup dwm on ubuntu server

This commit is contained in:
Klesh Wong 2020-09-17 10:47:33 +08:00
parent aed7d429bb
commit 244ae8bbb7

19
ubuntu/install-dwm.sh Normal file
View File

@ -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