Fix minor statusbar issues (#597)

* Fix: Remove trailing space from battery

* Unify spacing in disk

* Fix news

Don't display news module when there are no news.

* Use grep -F in pacpackages

* Fix torrent

Remove trailing whitespace *after* replacing newlines.

* Quote sed command
This commit is contained in:
mokulus
2020-04-24 14:44:48 +02:00
committed by GitHub
parent 349668f423
commit 5d59b3927d
5 changed files with 5 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ esac
case "$location" in
"/home"* ) icon="🏠" ;;
"/mnt"* ) icon="💾" ;;
*) icon="🖥 ";;
*) icon="🖥";;
esac
printf "%s: %s\n" "$icon" "$(df -h "$location" | awk ' /[0-9]/ {print $3 "/" $2}')"