diff --git a/screenfetch-dev b/screenfetch-dev index 8fb122f..3f01136 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -1158,7 +1158,7 @@ detectdisk () { elif [[ "${distro}" == "Mac OS X" ]]; then totaldisk=$(df -H / 2>/dev/null | tail -1) else - totaldisk=$(df -h --total 2>/dev/null | tail -1) + totaldisk=$(df -h -x aufs -x tmpfs --total 2>/dev/null | tail -1) fi disktotal=$(awk '{print $2}' <<< "${totaldisk}") diskused=$(awk '{print $3}' <<< "${totaldisk}")