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;