consistency

This commit is contained in:
tavo-wasd 2022-11-29 08:17:42 -06:00
parent 82b552c54c
commit 9af992b04d
4 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View file

@ -1,5 +1,5 @@
# Custom blocks file # Custom blocks file
blocks.h config.h
# Prerequisites # Prerequisites
*.d *.d

View file

@ -16,11 +16,11 @@ options:
@echo "LDFLAGS = ${LDFLAGS}" @echo "LDFLAGS = ${LDFLAGS}"
@echo "CC = ${CC}" @echo "CC = ${CC}"
dwmblocks: dwmblocks.c blocks.def.h blocks.h dwmblocks: dwmblocks.c config.def.h config.h
${CC} -o dwmblocks dwmblocks.c ${CFLAGS} ${LDFLAGS} ${CC} -o dwmblocks dwmblocks.c ${CFLAGS} ${LDFLAGS}
blocks.h: config.h:
cp blocks.def.h $@ cp config.def.h $@
clean: clean:
rm -f *.o *.gch dwmblocks rm -f *.o *.gch dwmblocks

View file

@ -48,7 +48,7 @@ static void (*writestatus) () = pstdout;
#endif #endif
#include "blocks.h" #include "config.h"
static char statusbar[LENGTH(blocks)][CMDLENGTH] = {0}; static char statusbar[LENGTH(blocks)][CMDLENGTH] = {0};
static char statusstr[2][STATUSLENGTH]; static char statusstr[2][STATUSLENGTH];