From 9af992b04d492b9fdfb6691df365d7c009cc73d3 Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Tue, 29 Nov 2022 08:17:42 -0600 Subject: [PATCH] consistency --- .gitignore | 2 +- Makefile | 6 +++--- blocks.def.h => config.def.h | 0 dwmblocks.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename blocks.def.h => config.def.h (100%) diff --git a/.gitignore b/.gitignore index b6605b4..3f2ff5f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Custom blocks file -blocks.h +config.h # Prerequisites *.d diff --git a/Makefile b/Makefile index 75109ac..159a71a 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/blocks.def.h b/config.def.h similarity index 100% rename from blocks.def.h rename to config.def.h diff --git a/dwmblocks.c b/dwmblocks.c index befd252..2e190c3 100644 --- a/dwmblocks.c +++ b/dwmblocks.c @@ -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];