Fix issues with progress bar and memory usage
This commit is contained in:
parent
c2f4f04c9b
commit
b587c3f7c9
2 changed files with 2 additions and 2 deletions
2
1.4.md
2
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<br \>
|
||||
will be drawn with.
|
||||
|
|
2
neofetch
2
neofetch
|
@ -1079,7 +1079,7 @@ getmemory () {
|
|||
esac
|
||||
|
||||
[ "$memory_bar" == "on" ] && \
|
||||
memory+=" $(bar "$((memused / 100000))" "$((memtotal / 100000))")"
|
||||
memory+=" $(bar "$memused" "$memtotal")"
|
||||
}
|
||||
|
||||
# }}}
|
||||
|
|
Loading…
Reference in a new issue