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 authored and GitHub committed 2020-04-24 08:44:48 -04:00
1 parent 349668f423
commit 5d59b3927d
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -25,4 +25,4 @@ case $BLOCK_BUTTON in
- Middle click to show upgradable packages" ;;
esac
pacman -Qu | grep -cv "\[ignored\]" | sed "s/^/📦/;s/^📦0$//g"
pacman -Qu | grep -Fcv "[ignored]" | sed "s/^/📦/;s/^📦0$//g"