summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-10-17 18:43:19 -0500
committerstkhan <personal@slickd.xyz>2021-10-17 18:43:19 -0500
commit3b852e0f10892789210fd8e3fdd8415faf3cf2d8 (patch)
tree9ff20de62f5e354926a5aed15b3f99c0dbd5cd63 /build.sh
parentcc844e1931ba6f4c417ea8682f5cfa72ef5e4fec (diff)
3.0
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..b9962c4
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+# A script to build sarc
+
+# Sets theme configuration
+# To see available themes, do "ls theme/"
+
+echo "Welcome to the sarc installation!"
+echo
+echo "Choose a theme:" && ls theme/
+read theme
+
+cp theme/$theme/colors.h dwm-6.2/
+cp theme/$theme/$theme.png $HOME/.config/wallpaper.png
+
+# Compiles dwm, st, etc
+
+cd dwm-6.2
+make clean
+make
+
+cd ../st-0.8.4/
+make clean
+make
+
+cd ../dmenu-5.0/
+make clean
+make
+cd ../
+
+