diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rwxr-xr-x | scripts/pre_build.sh | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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 + |