Update internet

This commit is contained in:
Vlad Doster 2020-05-10 00:00:38 -05:00 committed by GitHub
parent aff3a2cd65
commit 41b679cb7c
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="📡 " ;;
up) wifiicon=" $(nmcli connection show | awk '{ if ($5=="wlo1" ) {print $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