This great blue color for notifications in dwmblocks.
This commit is contained in:
parent
d7bf2ea26d
commit
a40c419740
5 changed files with 6 additions and 10 deletions
|
@ -1,10 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Show wifi 📶 and percent strength or 📡 if none.
|
||||
# Show 🌐 if connected to ethernet or ❎ if none.
|
||||
# Show 🔒 if a vpn connection is active
|
||||
|
||||
case "$(cat /sys/class/net/w*/operstate 2>/dev/null)" in
|
||||
down) printf "^c#161616^^b#fd4285^\ue63e no wifi^d^" ;;
|
||||
down) printf "^c#eeeeee^^b#005577^\ue63e no wifi^d^" ;;
|
||||
up) printf "\ue63e $(iw dev wlp3s0 info | awk '/ssid/ {print $2}')" ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue