diff options
| author | stkhan <personal@slickd.xyz> | 2021-06-14 13:46:30 -0500 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2021-06-14 13:46:30 -0500 |
| commit | d0b4841d3047b25c243c3e1b946a21cea4f40be7 (patch) | |
| tree | 02662b08adbd960371c6e3cc0844c1d4dbc3a88e /bin/sarc_compile | |
| parent | a738110c2693fe65396b5d43e2f9dff5bd0644db (diff) | |
Testing PKGBUILD
Diffstat (limited to 'bin/sarc_compile')
| -rwxr-xr-x | bin/sarc_compile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/bin/sarc_compile b/bin/sarc_compile new file mode 100755 index 0000000..5c1a541 --- /dev/null +++ b/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" |