From a4c71372830716428d8df8d2391896966c512562 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Sat, 20 Jul 2024 15:06:26 +0200 Subject: [PATCH] sb-memory: switch to gigibytes --- .local/libexec/statusbar/sb-memory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/libexec/statusbar/sb-memory b/.local/libexec/statusbar/sb-memory index 002f5b3c7..119ed7415 100755 --- a/.local/libexec/statusbar/sb-memory +++ b/.local/libexec/statusbar/sb-memory @@ -1,3 +1,3 @@ #!/bin/sh printf "%b" "󰘚 " -free --mega | sed -n '2{p;q}' | awk '{printf ("%2.2fG/%2.2fG\n", ($3 / 1000), ($2 / 1000))}' +free -m | sed -n '2{p;q}' | awk '{printf ("%2.2fG/%2.2fG\n", ($3 / 1024), ($2 / 1024))}'