From 81600b76ea119c319f169e1f18d15a7df80a338e Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Mon, 24 Apr 2023 23:14:34 +0930 Subject: [PATCH] updated so all blocks are scripts --- blocks.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks.def.h b/blocks.def.h index 6c8ae46..0fb37cb 100644 --- a/blocks.def.h +++ b/blocks.def.h @@ -5,9 +5,9 @@ static const Block blocks[] = { {" ", "", 1000, 1}, {"", "status-bat", 5, 7}, {"", "status-vol", 0, 3}, - {" ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 4}, + {"", "status-mem", 30, 4}, {"", "status-disk", 30, 5}, - {" ", "date '+%a %Y-%m-%d %H:%M'", 60, 6}, + {"", "status-clock", 60, 6}, {"", "status-net", 1, 15}, {"", "status-packages", 5, 8}, {" ", "", 1000, 30},