diff --git a/sb-wifi b/sb-wifi index 06090e7..a2daaa0 100755 --- a/sb-wifi +++ b/sb-wifi @@ -2,7 +2,7 @@ . sb-theme -case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in +case "$(cat /sys/class/net/wlan0/operstate 2>/dev/null)" in down) wifiicon="󰖪" ;; up) wifiicon="$(awk '/^\s*w/ { print "", int($3 * 100 / 70) "%" }' /proc/net/wireless)" ;; esac