Make free space block show capacities when clickedw
This commit is contained in:
parent
66cfddfce4
commit
ac43015522
1 changed files with 7 additions and 2 deletions
|
@ -14,9 +14,14 @@ total=$(echo $line | awk -F ' ' '{print $2}')
|
|||
percent=$(echo $line | awk -F ' ' '{print $5}' | sed 's/[^0-9]//')
|
||||
|
||||
|
||||
if [ "$BLOCK_BUTTON" = "1" ]; then
|
||||
echo "$used/$total"
|
||||
echo "$used/$total"
|
||||
else
|
||||
echo "$percent%"
|
||||
echo "$percent%"
|
||||
fi
|
||||
|
||||
echo "$percent%"
|
||||
echo "$percent%"
|
||||
|
||||
if [ "$percent" -gt 80 ]; then
|
||||
echo "#FF8000"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue