Make freeSpace block only show percentage

Jonathan Hodgson 7 years ago
parent fd46b9bc1c
commit 6a043d9301
  1. 4
      i3/blocks/freeSpace

@ -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…
Cancel
Save