summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-23 19:26:48 +0300
committerThomas Voss <mail@thomasvoss.com> 2023-08-23 19:26:48 +0300
commit2ba6e662b2bd2c2018bd78d83b7192d6f10f77a8 (patch)
tree7c00e48186bdee78f5feaa005094c30e908b32e5 /.config
parent7a992d8a919976664d8d53b94db19e9fb5862f46 (diff)
eww: Handle the ‘Not Connected’ case
Diffstat (limited to '.config')
-rwxr-xr-x.config/eww/scripts/wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/eww/scripts/wireless b/.config/eww/scripts/wireless
index 4221fe5..164fdbf 100755
--- a/.config/eww/scripts/wireless
+++ b/.config/eww/scripts/wireless
@@ -1,3 +1,3 @@
#!/bin/sh
-sudo wpa_cli status | sed -n 's/^ssid=//p'
+sudo wpa_cli status | sed -n 's/^ssid=//p' | ifne -n echo 'Not Connected'