More statusbar customisation.
This commit is contained in:
parent
eec100f304
commit
5fd7719e33
2 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
icon='\uf1eb '
|
||||
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
||||
down) printf "<span background='#770000'>$icon no wifi</span>" ;;
|
||||
down) printf "<span background='#770000'>$icon no wifi</span> /" ;;
|
||||
up)
|
||||
[ -n "$(ip address show dev wlan0 | grep 'inet ')" ] || printf "<span background='#770000'>$icon no ip</span>"
|
||||
[ -n "$(ip address show dev wlan0 | grep 'inet ')" ] || printf "<span background='#770000'>$icon no ip</span> /"
|
||||
# && printf "$icon $(iwgetid -r)" \
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue