From 0086c804c61dea4d0d5457307a464e6c9cd309b3 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 17 Aug 2022 09:50:29 +0200 Subject: update --- .local/bin/status/sb-memory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin') diff --git a/.local/bin/status/sb-memory b/.local/bin/status/sb-memory index 79049cb..0a9221c 100755 --- a/.local/bin/status/sb-memory +++ b/.local/bin/status/sb-memory @@ -1,3 +1,3 @@ #!/bin/sh -sysctl -n hw.usermem hw.physmem | xargs | awk '{printf ("﬙ %2.2fGiB/%2.2fGiB\n", ($1 / (1024 ^ 3)), ($2 / (1024 ^ 3)))}' +freecolor -o | sed -n '2p' | awk '{printf ("﬙ %2.2fGB/%2.2fGB\n", ($3 / (1024 ^ 2)), ($2 / (1024 ^ 2)))}' -- cgit v1.2.3