summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/status/sb-memory2
1 files changed, 1 insertions, 1 deletions
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)))}'