aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-01-17 19:44:16 -0500
committerBradley Taunt <bt@btxx.org>2024-01-17 19:44:16 -0500
commitc47aa4c4279beb700ec18c83fcf74aafc77d76a4 (patch)
tree76692ddf485c4453b366ce8df41e35c879cac9d3 /install.sh
Initial commit to cgit and place all suckless programs within installer
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh38
1 files changed, 38 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..8a66cc2
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+if [ "$EUID" -ne 0 ]
+ then echo "The script has to be run as root."
+ exit
+fi
+
+cd dwmf
+echo "Installing dwm"
+rm -rf config.h
+make clean install
+cd ..
+
+cd dmenuf
+echo "Installing dmenu"
+rm -rf config.h
+make clean install
+cd ..
+
+cd slstatusf
+echo "Installing slstatus"
+rm -rf config.h
+make clean install
+cd ..
+
+cd stf
+echo "Installing st"
+rm -rf config.h
+make clean install
+cd ..
+
+cd slockf
+echo "Installing slock"
+rm -rf config.h
+make clean install
+cd ..
+
+echo "Install finished. You should reboot the machine now."