From b2e8c33c3d5e7d576eee613c36eba3346134520c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 17 Dec 2016 00:25:58 +1100 Subject: [PATCH] Disk: Fix progress bars --- neofetch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neofetch b/neofetch index 01a878b4..5b83ae2d 100755 --- a/neofetch +++ b/neofetch @@ -1552,6 +1552,8 @@ get_disk() { # Convert Terabytes to Gigabytes. if [[ "$disk_display" != "off" ]]; then disk_used="${disk_used/\.}" + disk_used="${disk_used/G}" + disk_total="${disk_total/G}" disk_total="${disk_total/\.}" [[ "${disk_used: -1}" == "T" ]] && \