From 2306f88f57c58970b99fbe923a0bb725a61de2ea Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Sun, 12 Sep 2021 00:03:19 +0200 Subject: [PATCH] fix: change icons --- .local/bin/statusbar/sb-internet | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"