dotfiles/platforms/mac/sketchybar/plugins/aerospace.sh
2025-01-20 10:14:02 +00:00

10 lines
257 B
Bash
Executable file

#!/usr/bin/env bash
# make sure it's executable with:
# chmod +x ~/.config/sketchybar/plugins/aerospace.sh
if [ "$1" = "$FOCUSED_WORKSPACE" ]; then
sketchybar --set $NAME background.drawing=on
else
sketchybar --set $NAME background.drawing=off
fi