diff options
author | Joe <rbo@gmx.us> | 2024-12-24 21:29:47 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-12-24 21:29:47 +0100 |
commit | 27c5492e1046f1455a2690e48a56b5d4b64f00bf (patch) | |
tree | 16ab9e08b2ee38a34e61e805278abfa8d02a6944 | |
parent | up (diff) | |
download | dwmblocks-27c5492e1046f1455a2690e48a56b5d4b64f00bf.tar.gz dwmblocks-27c5492e1046f1455a2690e48a56b5d4b64f00bf.tar.bz2 dwmblocks-27c5492e1046f1455a2690e48a56b5d4b64f00bf.tar.xz dwmblocks-27c5492e1046f1455a2690e48a56b5d4b64f00bf.tar.zst dwmblocks-27c5492e1046f1455a2690e48a56b5d4b64f00bf.zip |
up
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | config.h | 4 | ||||
-rw-r--r-- | dwmblocks.c | 1 |
3 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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 <errno.h> #include <X11/Xlib.h> #include <sys/types.h> +#include <bsd/string.h> #define LENGTH(X) (sizeof(X) / sizeof (X[0])) #define CMDLENGTH 50 |