mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-30 07:10:22 +00:00
10 lines
185 B
Bash
Executable file
10 lines
185 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
NOTIFICATIONS="$(gh api notifications | jq '.[]')"
|
|
|
|
if [ "$NOTIFICATIONS" = "" ]; then
|
|
sketchybar --set $NAME icon=
|
|
else
|
|
sketchybar --set $NAME icon=
|
|
fi
|
|
|