aboutsummaryrefslogtreecommitdiff
path: root/install-laptop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install-laptop.sh')
-rwxr-xr-xinstall-laptop.sh40
1 files changed, 40 insertions, 0 deletions
diff --git a/install-laptop.sh b/install-laptop.sh
new file mode 100755
index 0000000..2a78a7c
--- /dev/null
+++ b/install-laptop.sh
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+if [ "$EUID" -ne 0 ]
+ then echo "The script has to be run as root."
+ exit
+fi
+
+echo "Installing laptop version..."
+
+cd laptop/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 laptop/slstatuso
+echo "Installing slstatus"
+rm -rf config.h
+make clean install
+cd ../..
+
+cd laptop/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 ..
+
+echo "Install finished. You should reboot the machine now."