summaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-02-02 22:34:34 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-02-02 22:34:34 +0100
commit83ea812c294822c494d88a23a820eb5ece5f7561 (patch)
tree361f1839fc15a49574d018eed1ff3f2880eb81b0 /i3
parent3d4dc46d3f39edacf3654ba00a666383a12d8375 (diff)
Fix a few errors
Diffstat (limited to 'i3')
-rwxr-xr-xi3/.config/i3blocks/bin/wifi2
1 files changed, 1 insertions, 1 deletions
diff --git a/i3/.config/i3blocks/bin/wifi b/i3/.config/i3blocks/bin/wifi
index 01ff021..434c508 100755
--- a/i3/.config/i3blocks/bin/wifi
+++ b/i3/.config/i3blocks/bin/wifi
@@ -8,7 +8,7 @@ eth_address=$(ip addr show eno1 2>/dev/null | grep -oP -m1 "(?<=inet ).*(?=/)")
if [[ -n $eth_address ]]; then
echo "eno1: $eth_address"
elif [[ -n $wifi_address ]]; then
- echo "wlp2s0: (${quality}% at ${ssid}) ${address}"
+ echo "wlp2s0: (${quality}% at ${ssid}) ${wifi_address}"
else
echo "No connection"
fi