From 623d9f68913414a1d8f90320ff95e07245a058f4 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Mon, 8 Jan 2024 16:46:23 +0100 Subject: [PATCH] Update script. --- sb-wifi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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