dotfiles/platforms/mac/sketchybar/plugins/aerospace.sh
2025-02-25 12:36:22 +00:00

10 lines
253 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