diff --git a/.local/bin/statusbar/sb-internet b/.local/bin/statusbar/sb-internet index 513fe3d..fbc8235 100755 --- a/.local/bin/statusbar/sb-internet +++ b/.local/bin/statusbar/sb-internet @@ -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"