[status] fix: spaces + icons

This commit is contained in:
David JULIEN 2022-11-04 21:09:13 +01:00
parent 13c2b6f27e
commit e050010753
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
ssid="$(wpa_cli status | grep -i ^ssid | sed -e 's/.*=//')"
state="$(wpa_cli status | grep -i ^wpa_state | sed -e 's/.*=//')"
case "$state" in
COMPLETED) str="$(printf " %s" $ssid)" ;;
COMPLETED) str="$(printf " %s" $ssid)" ;;
INTERFACE_DISABLED) str="WIFI DOWN" ;;
*) str="$(printf "NO WIFI")";;
esac

View File

@ -24,4 +24,4 @@ do
done
[ -n "$unread" ] && unread="$(echo "$unread" | cut -c 2-)" || exit
printf " %s%s " "$unread" "$icon"
printf " %s%s " "$unread" "$icon"