diff --git a/Makefile b/Makefile index f854ad0..ae7b18f 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/blocks.h b/blocks.h new file mode 100644 index 0000000..d96ee49 --- /dev/null +++ b/blocks.h @@ -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; diff --git a/dwmblocks b/dwmblocks new file mode 100755 index 0000000..4cc8b4a Binary files /dev/null and b/dwmblocks differ