Update script.
This commit is contained in:
parent
a87040193a
commit
623d9f6891
2
sb-wifi
2
sb-wifi
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
. sb-theme
|
. 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="" ;;
|
down) wifiicon="" ;;
|
||||||
up) wifiicon="$(awk '/^\s*w/ { print "", int($3 * 100 / 70) "%" }' /proc/net/wireless)" ;;
|
up) wifiicon="$(awk '/^\s*w/ { print "", int($3 * 100 / 70) "%" }' /proc/net/wireless)" ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user