aboutsummaryrefslogtreecommitdiff
path: root/i3blocks/i3internet.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i3blocks/i3internet.sh')
-rwxr-xr-xi3blocks/i3internet.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/i3blocks/i3internet.sh b/i3blocks/i3internet.sh
index a148928..ab26611 100755
--- a/i3blocks/i3internet.sh
+++ b/i3blocks/i3internet.sh
@@ -11,9 +11,9 @@ if [ $wstatus = "down" ]; then
wifi="❌"
else
# with IP
- #wifi="$(nmcli | grep "wlp2s0: conectado to " | cut -d' ' -f4-) ($(ip addr show wlp2s0 | grep "inet " | cut -d' ' -f6)) ($(grep "^\s*w" /proc/net/wireless | awk '{print int($3 * 100 / 70)"%"}'))"
+ wifi="$(nmcli | grep "wlp2s0: conectado to " | cut -d' ' -f4-) ($(ip addr show wlp2s0 | grep "inet " | cut -d' ' -f6)) ($(grep "^\s*w" /proc/net/wireless | awk '{print int($3 * 100 / 70)"%"}'))"
# no IP
- wifi="$(nmcli | grep "wlp2s0: conectado to " | cut -d' ' -f4-) ($(grep "^\s*w" /proc/net/wireless | awk '{print int($3 * 100 / 70)"%"}'))"
+ #wifi="$(nmcli | grep "wlp2s0: conectado to " | cut -d' ' -f4-) ($(grep "^\s*w" /proc/net/wireless | awk '{print int($3 * 100 / 70)"%"}'))"
fi
if [ $estatus = "down" ]; then
en="❌"