diff --git a/neofetch b/neofetch index 97d6151a..918c4c24 100755 --- a/neofetch +++ b/neofetch @@ -1295,6 +1295,13 @@ get_memory() { mem_used="$((mem_total - mem_free))" mem_label="MB" ;; + + "IRIX") + mem_stat=($(pmem | head -1)) + mem_total="$((${mem_stat[3]} / 1024))" + mem_free="$((${mem_stat[5]} / 1024))" + mem_used="$((mem_total - mem_free))" + ;; esac memory="${mem_used}${mem_label:-MiB} / ${mem_total}${mem_label:-MiB}"