fix: change icons

This commit is contained in:
David JULIEN 2021-09-12 00:03:19 +02:00
parent 6cf0718787
commit 2306f88f57
1 changed files with 3 additions and 3 deletions

View File

@ -14,11 +14,11 @@
ssid="$(wpa_cli status | grep -i ^ssid | sed -e 's/.*=//')"
ip="$(wpa_cli status | grep -i ^ip_address | sed -e 's/.*=//')"
[ -n $ip ] && str="$(printf " %s" $ssid)" || str="$(printf " ---")"
eth="$(cat /sys/class/net/eno1/operstate)"
eth="$(cat /sys/class/net/enp0s31f6/operstate)"
if [ "up" = "$eth" ]; then
str="$(printf "%s / " "$str")"
str="$(printf "%s / " "$str")"
fi
vpn="$(pidof openvpn)"
[ -n "$vpn" ] && str="$(printf "() %s" "$str")"
[ -n "$vpn" ] && str="$(printf "%s ()" "$str")"
printf " %s " "$str"