From c6a41a4fd68a400b4c636f919493ede646dc9273 Mon Sep 17 00:00:00 2001 From: sebastien peterson boudreau Date: Tue, 30 Jul 2024 18:53:14 -0300 Subject: [PATCH] Change AWK command for memory to be more simple --- blocks.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks.def.h b/blocks.def.h index dbb33054..ee536662 100644 --- a/blocks.def.h +++ b/blocks.def.h @@ -1,7 +1,7 @@ //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}, + {"", "free -h | awk '/^Mem/ { print $1\" \"$3\"/\"$2 }' | sed s/i//g", 30, 0}, {"", "date '+%b %d (%a) %I:%M%p'", 5, 0}, };