diff --git a/modules/internet b/modules/internet index 136005a..7c06858 100755 --- a/modules/internet +++ b/modules/internet @@ -1,6 +1,7 @@ #!/bin/bash # Prints out if there is an internet connection +# Requires an internet connection INTERNET_ICON='' diff --git a/modules/wifi b/modules/wifi index ebe30f9..fc68fb7 100755 --- a/modules/wifi +++ b/modules/wifi @@ -8,7 +8,7 @@ WIFI_LOW_ICON='' get_wifi() { - if grep -q wlan* "/proc/net/wireless"; then + if grep -q wl* "/proc/net/wireless"; then # Wifi quality percentage percentage=$(grep "^\s*w" /proc/net/wireless | awk '{ print "", int($3 * 100 / 70)}'| xargs) case $percentage in