qtile was an adventure, but dwm is still my favorite.
This commit is contained in:
parent
e06858b8af
commit
27aadd0ed1
32 changed files with 0 additions and 0 deletions
|
@ -1,10 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
icon='\uf1eb '
|
||||
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
||||
down) printf "$icon <span background='#770000'>no wifi</span>" ;;
|
||||
up)
|
||||
[ -n "$(ip address show dev wlan0 | grep 'inet ')" ] \
|
||||
&& printf "$icon $(iw dev wlan0 info | grep 'ssid ' | cut -d' ' -f2-)" \
|
||||
|| printf "$icon <span background='#770000'>no ip</span>"
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue