Merge branch 'master' of github.com:thytom/dwmbar

This commit is contained in:
Archie Hilton (thytom) 2019-10-21 20:28:30 +01:00
commit c2b4f5e629
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
#!/bin/bash
# Prints out if there is an internet connection
# Requires an internet connection
INTERNET_ICON=''

View file

@ -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