blob: 8a6db101a2837fe013eecf69cb1c2bb7194dd1ad (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
SSID=$(/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | awk -F: '($1 ~ "^ *SSID$"){print $2}' | cut -c 2-)
sketchybar --set wifi \
icon= icon.color=0xff58d1fc \
label="$SSID"
|