From 27c5492e1046f1455a2690e48a56b5d4b64f00bf Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 24 Dec 2024 21:29:47 +0100 Subject: up --- Makefile | 2 +- config.h | 4 ++-- dwmblocks.c | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6353a15..466aa87 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ CC = cc dwmblocks: dwmblocks.o $(CC) -pipe dwmblocks.o -lX11 -lbsd -o dwmblocks dwmblocks.o: dwmblocks.c config.h - $(CC) -c -std=c99 -Wall -Wextra -pedantic -pipe -D_POSIX_C_SOURCE=199309L dwmblocks.c + $(CC) -c -std=c99 -Wall -Wextra -pedantic -pipe -D_POSIX_C_SOURCE=200112L dwmblocks.c clean: rm -f *.o *.gch dwmblocks install: dwmblocks diff --git a/config.h b/config.h index 55dac84..0eb7c66 100644 --- a/config.h +++ b/config.h @@ -1,7 +1,7 @@ //Modify this file to change what commands output to your statusbar, and recompile using the make command. static const Block blocks[] = { /*Icon Command Update interval Update signal*/ - { "", "sb-mpd", 0, 10 }, + /* { "", "sb-mpd", 0, 10 }, */ /* { "", "sb-mailbox", 0, 9 }, */ { "", "sb-forecast", 3600, 8 }, { "", "sb-cpu", 5, 7 }, @@ -9,7 +9,7 @@ static const Block blocks[] = { { "", "sb-disk", 90, 7 }, { "", "sb-temp", 15, 5 }, { "", "sb-battery", 120, 6 }, - { "", "sb-volume", 0, 3 }, + /* { "", "sb-volume", 0, 3 }, */ /* { "", "sb-usb", 30, 2 }, */ /* { "", "sb-tools", 5, 2 }, */ { "", "sb-net", 5, 2 }, diff --git a/dwmblocks.c b/dwmblocks.c index 7d65521..7ecf3b1 100644 --- a/dwmblocks.c +++ b/dwmblocks.c @@ -7,6 +7,7 @@ #include #include #include +#include #define LENGTH(X) (sizeof(X) / sizeof (X[0])) #define CMDLENGTH 50 -- cgit v1.2.3