mirror of
https://github.com/FelixKratz/SketchyBar
synced 2025-02-26 20:17:11 +00:00
9 lines
230 B
Bash
Executable file
9 lines
230 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# The wifi_change event supplies a $INFO variable in which the current SSID
|
|
# is passed to the script.
|
|
|
|
if [ "$SENDER" = "wifi_change" ]; then
|
|
WIFI=${INFO:-"Not Connected"}
|
|
sketchybar --set $NAME label="${WIFI}"
|
|
fi
|