This commit is contained in:
Solomon Laing 2025-08-17 21:13:55 +09:30
parent f7b6042f77
commit 44a09153fe
3 changed files with 20 additions and 1 deletions

View File

@ -1,6 +1,6 @@
PREFIX := /usr/local
CC := cc
CFLAGS := -pedantic -Wall -Wno-deprecated-declarations -Os
CFLAGS := --std=gnu11 -pedantic -Wall -Wno-deprecated-declarations -Os
LDFLAGS := -lX11
# FreeBSD (uncomment)

19
blocks.h Normal file
View File

@ -0,0 +1,19 @@
// 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*/
{" ", "", 1000, 1},
{"", "status-bat", 10, 7},
{"", "status-vol", 0, 3},
{"", "status-mem", 30, 4},
{"", "status-disk", 30, 5},
{"", "status-clock", 60, 6},
{"", "status-net", 10, 15},
{"", "status-packages", 60, 8},
{" ", "", 1000, 30},
};
// sets delimeter between status commands. NULL character ('\0') means no
// delimeter.
static char delim[] = " ";
static unsigned int delimLen = 6;

BIN
dwmblocks Executable file

Binary file not shown.