dwmblocks

git clone git://mattcarlson.org/repos/dwmblocks.git
Log | Files | Refs

commit 44236437b6ba760b345e211e5633c9615d66c980
parent 2d61dbcccafd7feebc7b4f9cee6f7ad702c02c74
Author: Matthew Carlson <matt@mcarlson.xyz>
Date:   Sat, 10 Jul 2021 02:00:48 +0000

clean up

Diffstat:
Mconfig.h | 25++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/config.h b/config.h @@ -1,6 +1,12 @@ +// dwmblocks + +// cmd length #define CMDLENGTH 50 + +// delimiter #define DELIMITER "  " +// block typedef struct { char* command; unsigned int interval; @@ -9,13 +15,14 @@ typedef struct { int pipe[2]; } Block; +// blocks static Block blocks[] = { - {"sb-mail", 1800, 1}, - {"sb-music", 0, 2}, - {"sb-disk", 1800, 4}, - {"sb-memory", 10, 3}, - {"sb-loadavg", 10, 9}, - {"sb-volume", 0, 5}, - {"sb-battery", 5, 6}, - {"sb-date", 20, 7}, - {"sb-network", 5, 8}}; + {"sb-mail", 1800, 1}, + {"sb-music", 0, 2}, + {"sb-disk", 1800, 4}, + {"sb-memory", 10, 3}, + {"sb-loadavg", 10, 9}, + {"sb-volume", 0, 5}, + {"sb-battery", 5, 6}, + {"sb-date", 20, 7}, + {"sb-network", 5, 8}};