small pixel drawing of a pufferfish dotfiles

fix wifi name on zora
Jes Olson j3s@c3f.net
Tue, 12 Jul 2022 09:43:22 -0500
commit

7b50cb2f6268419460d8fbee525b5acdb5a04ff1

parent

923284c93a5e2fdd2fb1e8cbeef37c99a38b7f76

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bin/zora/statusbarbin/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