summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xscripts/pre_build.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6f4efa8..7c3775b 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ config:
rm -rf .config
@./scripts/set_theme.sh
@echo "Run make to compile sarc"
-sarc: clean
+sarc: clean
./scripts/cp.sh
${COLOR}
cp wm/${DMENU}/config.h wm/${DMENU}/real_config.h
diff --git a/scripts/pre_build.sh b/scripts/pre_build.sh
index a29b4cb..9155326 100755
--- a/scripts/pre_build.sh
+++ b/scripts/pre_build.sh
@@ -5,3 +5,4 @@ COLOR=$(grep col_cyan colors.h | sed "s/static const char col_cyan\[\] //g ; s/
GRAY=$(grep col_gray1 colors.h | sed "s/static const char col_gray1\[\] //g ; s/ //g ; s/=\"//g ; s/\"\;//g")
sed -i "s/COL_CYAN/\"${COLOR}\"/g" wm/${DMENU}/real_config.h
sed -i "s/COL_GRAY/\"${GRAY}\"/g" wm/${DMENU}/real_config.h
+