aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-10-21 20:28:30 +0100
committerArchie Hilton (thytom) <archie.hilton1@gmail.com>2019-10-21 20:28:30 +0100
commitc2b4f5e629a47f645f0d1df8caabe3842df325c4 (patch)
tree93fabe33fbff42f126c8c815ffe4a4ff7959069b
parent0a4d55165288e3f4b7e1b9b9d845e1d124a9a590 (diff)
parentf754db94911c994675b40afa43d19384187ce817 (diff)
Merge branch 'master' of github.com:thytom/dwmbar
-rwxr-xr-xmodules/internet1
-rwxr-xr-xmodules/wifi2
2 files changed, 2 insertions, 1 deletions
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