From b587c3f7c90dd99598012a40ac87b3338df4a518 Mon Sep 17 00:00:00 2001 From: Dylan Date: Thu, 3 Mar 2016 14:14:02 +1100 Subject: [PATCH] Fix issues with progress bar and memory usage --- 1.4.md | 2 +- neofetch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/1.4.md b/1.4.md index 71e59040..bc99e362 100644 --- a/1.4.md +++ b/1.4.md @@ -10,7 +10,7 @@ **Added the ability to print certain info as a progress bar.** -![1](https://cloud.githubusercontent.com/assets/6799467/13480732/04873af6-e134-11e5-9027-f8b120f58008.png) +![1](https://cloud.githubusercontent.com/assets/6799467/13483613/1cd0e1dc-e14a-11e5-8170-6de662cce562.png) - Added `--progress_char` and `$progress_char` to set the character the progress bars
will be drawn with. diff --git a/neofetch b/neofetch index 6188f9dd..cd6f9a75 100755 --- a/neofetch +++ b/neofetch @@ -1079,7 +1079,7 @@ getmemory () { esac [ "$memory_bar" == "on" ] && \ - memory+=" $(bar "$((memused / 100000))" "$((memtotal / 100000))")" + memory+=" $(bar "$memused" "$memtotal")" } # }}}