From 33bb8ff4d37722a14fa40444dd2d875c51b55dac Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 13 May 2016 10:15:59 +1000 Subject: [PATCH] We grabbed the wrong field --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index e5421b88..f4262e10 100755 --- a/neofetch +++ b/neofetch @@ -1410,7 +1410,7 @@ getmemory () { "BSD") memtotal=$(($(sysctl -n hw.physmem) / 1024 / 1024)) - memfree=$(($(vmstat | awk 'END{printf $4}') / 1000)) + memfree=$(($(vmstat | awk 'END{printf $5}') / 1024)) memused=$((memtotal - memfree)) ;; esac