Fix spacing when battery percentage isn't available

This commit is contained in:
Moisés Carvalho 2020-05-30 11:51:16 -03:00
parent ba6412a5b9
commit 2607300beb

View file

@ -35,7 +35,8 @@ battery_percent()
# Check OS
case $(uname -s) in
Linux)
linux_acpi percent
percent=$(linux_acpi percent)
[ -n "$percent" ] && echo " $percent"
;;
Darwin)