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})) ;;