Huge statusbar changes, no more Material stuff.
This commit is contained in:
parent
7073a4a805
commit
ef80d981bf
7 changed files with 27 additions and 27 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
||||
down) printf "^c#ffffff^^b#770000^\ue63e no wifi^d^" ;;
|
||||
down) printf "^c#ffffff^^b#770000^no wifi^d^" ;;
|
||||
up)
|
||||
[ -n "$(ip address show dev wlan0 | grep 'inet ')" ] \
|
||||
&& printf "\ue63e $(iw dev wlan0 info | grep 'ssid ' | cut -d' ' -f2-)" \
|
||||
|| printf "^c#ffffff^^b#770000^\ue63e no ip^d^" ;;
|
||||
&& printf "$(iw dev wlan0 info | grep 'ssid ' | cut -d' ' -f2-)" \
|
||||
|| printf "^c#ffffff^^b#770000^no ip^d^" ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue