fix wifi name on zora
Jes Olson j3s@c3f.net
Tue, 12 Jul 2022 09:43:22 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
bin/zora/statusbar
→
bin/zora/statusbar
@@ -8,7 +8,7 @@ vpn="connected"
fi wifi="disconnected (0%)" if nmcli dev show wlp0s20f3 | grep GENERAL.STATE | grep -q connected; then - wifiname="$(nmcli dev show wlp0s20f3 | awk '/GENERAL.CONNECTION/ {print $2}')" + wifiname="$(nmcli -t dev show wlp0s20f3 | grep GENERAL.CONNECTION | cut -d ':' -f 2)" wifistrength="$(nmcli dev show wlp0s20f3 | awk '/GENERAL.STATE/ {print $2}')" wifi="$wifiname ($wifistrength%)" fi