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
blocks.h
config.h
# Prerequisites
*.d

View file

@ -16,11 +16,11 @@ options:
@echo "LDFLAGS = ${LDFLAGS}"
@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}
blocks.h:
cp blocks.def.h $@
config.h:
cp config.def.h $@
clean:
rm -f *.o *.gch dwmblocks

View file

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