From 580682ff01096b3d40ba73a8d4dbf12c10993d39 Mon Sep 17 00:00:00 2001 From: benj Date: Wed, 16 Jun 2021 17:54:38 -0700 Subject: quite a few changes...many specific to an ad2 setup (to be weeded out) --- des/i3/i3blocks/scripts/memory | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'des/i3/i3blocks/scripts/memory') diff --git a/des/i3/i3blocks/scripts/memory b/des/i3/i3blocks/scripts/memory index e28af4e..20cebdd 100755 --- a/des/i3/i3blocks/scripts/memory +++ b/des/i3/i3blocks/scripts/memory @@ -38,9 +38,9 @@ awk -v type=$TYPE ' END { # full text if (type == "swap") - printf("%.1fG\n", (swap_total-swap_free)/1024/1024) + printf(" %.1fG\n", (swap_total-swap_free)/1024/1024) else - printf("%.1fG\n", mem_free/1024/1024) + printf(" %.1fG\n", mem_free/1024/1024) # TODO: short text -- cgit v1.2.3