From 2ba6e662b2bd2c2018bd78d83b7192d6f10f77a8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 23 Aug 2023 19:26:48 +0300 Subject: eww: Handle the ‘Not Connected’ case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/eww/scripts/wireless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config') 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' -- cgit v1.2.3