Update internet

This commit is contained in:
Vlad Doster 2020-05-10 00:02:53 -05:00 committed by GitHub
parent 92031af6fc
commit 8559b2f6a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ esac
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
down) wifiicon="No Wifi" ;;
up) wifiicon=" $(nmcli connection show | awk '{ if ($5=="wlo1" ) {print "Wifi:"$1}}'
up) wifiicon=" $(nmcli connection show | awk '{ if ($5=="wlo1" ) {print "Wifi: "$1" - "}}'
): $(awk '/^\s*w/ { print int($3 * 100 / 70) "% " }' /proc/net/wireless)" ;;
esac