summaryrefslogtreecommitdiff
path: root/sd/bin/sarc_compile
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-06-19 10:42:34 -0500
committerstkhan <personal@slickd.xyz>2021-06-19 10:42:34 -0500
commite2dbb81b9144fd8be2eb89617db38fd361079fed (patch)
tree77cdbe3673b967c594327c878379aaae9c56daaf /sd/bin/sarc_compile
parente8df46e3babbb943a729935786a0d55dbe0e2028 (diff)
1.0.0b2
Former-commit-id: 7e8e8ad1998285a5b38c4bedd38acd0bbe37de4d
Diffstat (limited to 'sd/bin/sarc_compile')
-rwxr-xr-xsd/bin/sarc_compile41
1 files changed, 41 insertions, 0 deletions
diff --git a/sd/bin/sarc_compile b/sd/bin/sarc_compile
new file mode 100755
index 0000000..5c1a541
--- /dev/null
+++ b/sd/bin/sarc_compile
@@ -0,0 +1,41 @@
+#!/bin/sh
+# A script to compile sarc
+
+dwm="dwm-6.2"
+st="st"
+dmenu="dmenu-5.0"
+
+echo "Welcome to the sarc installation!"
+echo
+
+echo "What theme do you want to use?"
+echo
+ls themes/
+echo
+echo "Enter what theme you would like to use:" && read theme
+echo
+echo "Theme is $theme"
+echo
+echo $theme >> /tmp/theme
+pwd
+
+cp themes/$theme theme.h
+
+cd $dwm
+make clean
+make -s
+
+cd ../dwmblocks
+make -s
+
+cd ../$st
+make clean
+make -s
+
+cd ../$dmenu
+make -s
+
+cd ..
+
+rm theme.h
+echo "Compilation is complete! Run sarc_install to install it"