From a1fe4d6d7ddb892d21c1463453dee08a8810dc33 Mon Sep 17 00:00:00 2001 From: bt Date: Tue, 18 Jun 2024 10:06:56 -0400 Subject: Update README and files to reflect sourcehut platform --- install.sh | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100755 install.sh (limited to 'install.sh') diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..fbb8c32 --- /dev/null +++ b/install.sh @@ -0,0 +1,48 @@ +#!/bin/bash + +if [ "$EUID" -ne 0 ] + then echo "The script has to be run as root." + exit +fi + +echo "Cloning core suckless programs into /open-suck-core" +mkdir ~/open-suck-core +cd ~/open-suck-core +git clone https://git.sr.ht/~bt/dwmo +git clone https://git.sr.ht/~bt/dmenuo +git clone https://git.sr.ht/~bt/slstatuso +git clone https://git.sr.ht/~bt/slocko +git clone https://git.sr.ht/~bt/sto + +cd dwmo +echo "Installing dwm" +rm -rf config.h +make clean install +cd .. + +cd dmenuo +echo "Installing dmenu" +rm -rf config.h +make clean install +cd .. + +cd slstatuso +echo "Installing slstatus" +rm -rf config.h +make clean install +cd .. + +cd sto +echo "Installing st" +rm -rf config.h +make clean install +cd .. + +cd slocko +echo "Installing slock" +rm -rf config.h +make clean install +cd .. +cd .. + +echo "Install finished. You should reboot the machine now." -- cgit v1.2.3-54-g00ecf