statusbar: fixed no wifi connection display

master
tiyn 1 year ago
parent 80de5641a3
commit acb2ee1efb

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
wifipercent=" ___" wifipercent=" 0"
[ "$(cat /sys/class/net/w*/operstate)" = 'down' ] && wifiicon="^c#ff0000^ ^d^" [ "$(cat /sys/class/net/w*/operstate)" = 'down' ] && wifiicon="^c#ff0000^ ^d^"

Loading…
Cancel
Save