fix: change icons
This commit is contained in:
parent
6cf0718787
commit
2306f88f57
@ -14,11 +14,11 @@
|
|||||||
ssid="$(wpa_cli status | grep -i ^ssid | sed -e 's/.*=//')"
|
ssid="$(wpa_cli status | grep -i ^ssid | sed -e 's/.*=//')"
|
||||||
ip="$(wpa_cli status | grep -i ^ip_address | sed -e 's/.*=//')"
|
ip="$(wpa_cli status | grep -i ^ip_address | sed -e 's/.*=//')"
|
||||||
[ -n $ip ] && str="$(printf " %s" $ssid)" || str="$(printf " ---")"
|
[ -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
|
if [ "up" = "$eth" ]; then
|
||||||
str="$(printf "%s / " "$str")"
|
str="$(printf "%s / " "$str")"
|
||||||
fi
|
fi
|
||||||
vpn="$(pidof openvpn)"
|
vpn="$(pidof openvpn)"
|
||||||
[ -n "$vpn" ] && str="$(printf "() %s" "$str")"
|
[ -n "$vpn" ] && str="$(printf "%s ()" "$str")"
|
||||||
|
|
||||||
printf " %s " "$str"
|
printf " %s " "$str"
|
||||||
|
Reference in New Issue
Block a user