diff --git a/neofetch b/neofetch index b8922e27..5394cb7f 100755 --- a/neofetch +++ b/neofetch @@ -1240,6 +1240,10 @@ 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"*) @@ -1585,7 +1589,7 @@ getfont () { getdisk () { # df flags case "$os" in - "Linux" | "Windows") df_flags="-h -l --total" ;; + "Linux" | "iPhone Os" | "Windows") df_flags="-h -l --total" ;; "Mac OS X") df_flags="-H / -l" ;; *"BSD")