From b379106e357b8fd64aa9de41b4b3f6f3ce60f1ec Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 13 May 2016 09:37:19 +1000 Subject: [PATCH] Forgot to divide the total memory by 1000 --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 5f1c4912..2abe24d8 100755 --- a/neofetch +++ b/neofetch @@ -1409,7 +1409,7 @@ getmemory () { ;; "BSD") - memtotal=$(sysctl -n hw.physmem) + memtotal=$(($(sysctl -n hw.physmem) / 1000)) memfree=$(($(vmstat | awk 'END{printf $4}') / 1000)) memused=$((memtotal - ${memfree/M})) ;;