Files
dotfiles/dot_config/sketchybar/plugins/executable_aerospace.sh
2025-08-08 12:19:01 -07:00

11 lines
257 B
Bash

#!/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