From 62470a8c4b3c3efc5c78e6d1970140ab5d8f70aa Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sat, 7 May 2022 22:19:44 +0930 Subject: [PATCH] made some updates --- blocks.def.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/blocks.def.h b/blocks.def.h index 9c22d68..968397a 100644 --- a/blocks.def.h +++ b/blocks.def.h @@ -1,9 +1,15 @@ //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*/ - {"Mem:", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0}, + /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ + {"Mem ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0}, - {"", "date '+%b %d (%a) %I:%M%p'", 5, 0}, + {" ", "date '+(%a) %Y-%m-%d %H:%M'", 5, 0}, + + {"", "status-net", 30, 0}, + + {"", "status-vol", 30, 0}, + + {" ", "", 3600, 0}, /* badding */ }; //sets delimeter between status commands. NULL character ('\0') means no delimeter.