diff --git a/neofetch b/neofetch index 5394cb7f..a8578b0d 100755 --- a/neofetch +++ b/neofetch @@ -1232,7 +1232,7 @@ getmemory () { memtotal=$((mem[0] / 1024)) ;; - "Mac OS X") + "Mac OS X" | "iPhone OS") memtotal=$(printf "%s\n" "$(sysctl -n hw.memsize)"/1024^2 | bc) memwired=$(vm_stat | awk '/wired/ { print $4 }') memactive=$(vm_stat | awk '/active / { printf $3 }') @@ -1240,10 +1240,6 @@ getmemory () { memused=$(((${memwired//.} + ${memactive//.} + ${memcompressed//.}) * 4 / 1024)) ;; - "iPhone OS") - memtotal=$(printf "%s\n" "$(sysctl -n hw.memsize)"/1024^2 | bc) - ;; - "OpenBSD" | "BSD") case "$distro" in "OpenBSD"*)