From 244ae8bbb7cb4be2db1d86fd9d7d782d56edb098 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Thu, 17 Sep 2020 10:47:33 +0800 Subject: [PATCH] [feature] setup dwm on ubuntu server --- ubuntu/install-dwm.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ubuntu/install-dwm.sh 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