From fed53ece96b289d9cac3a5403a8e7038556856b3 Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Mon, 9 May 2022 22:07:44 +0930 Subject: [PATCH] updated to include bat --- blocks.def.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/blocks.def.h b/blocks.def.h index 4e9818d..5f5a7b9 100644 --- a/blocks.def.h +++ b/blocks.def.h @@ -1,14 +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*/ + {"", "status-bat", 1, 0}, + {"Mem ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0}, {" ", "date '+(%a) %Y-%m-%d %H:%M'", 5, 0}, {"", "status-net", 1, 0}, - {"", "status-vol && echo \" \" ", 1, 0}, - /* padding */ + {"", "status-vol", 1, 0}, };