summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh35
1 files changed, 35 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..673e567
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+dwm="dwm-6.2"
+dmenu="./dmenu-5.0"
+st="./st"
+dwmblocks="./dwmblocks"
+
+echo "Welcome to the archrice installer script"
+echo
+echo "Starting dwm install"
+
+cd dwm-6.2
+sudo make -s install > ./log.txt
+
+cd ../$st
+sudo make -s install > ./log.txt
+
+cd ../$dmenu
+sudo make -s install > ./log.txt
+
+cd ../$dwmblocks
+sudo make -s install > ./log.txt
+
+echo "Copying files"
+cp ./etc/.xinitrc ~
+cp ./etc/wallpaper.jpg ~/.config/
+
+mkdir -p ~/.local/bin
+mkdir ~/.dwm/
+
+cp ./etc/autostart.sh ~/.dwm/
+cp ./bin/* ~/.local/bin
+
+echo "Finished"
+