From c2d5bb0450c7135fc0ba551b7a0691375fdb6046 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sun, 30 Oct 2022 21:30:31 +1030 Subject: [PATCH] wip commit, not working somehow :( --- blocks.def.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks.def.h b/blocks.def.h index 384347a..4346d8b 100644 --- a/blocks.def.h +++ b/blocks.def.h @@ -3,6 +3,8 @@ static const Block blocks[] = { /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ {"", "status-bat", 1, 0}, + {"", "status-vol", 1, 0}, + {" ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0}, {"", "status-disk", 30, 0}, @@ -11,11 +13,9 @@ static const Block blocks[] = { {"", "status-net", 1, 0}, - {"", "status-vol", 1, 0}, - }; //sets delimeter between status commands. NULL character ('\0') means no delimeter. static char delim[] = " | "; -static unsigned int delimLen = 5; +static unsigned int delimLen = 6;