Make freeSpace block only show percentage
This commit is contained in:
parent
fd46b9bc1c
commit
6a043d9301
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ percent=$(echo $line | awk -F ' ' '{print $5}' | sed 's/[^0-9]//')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "$used/$total $percent%"
|
echo "$percent%"
|
||||||
echo "$used/$total"
|
echo "$percent%"
|
||||||
|
|
||||||
if [ "$percent" -gt 80 ]; then
|
if [ "$percent" -gt 80 ]; then
|
||||||
echo "#FF8000"
|
echo "#FF8000"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue