SketchyBar/plugins/space.sh
2022-09-28 16:15:14 +02:00

7 lines
338 B
Bash
Executable file

#!/usr/bin/env sh
# The $SELECTED variable is available for space components and indicates if
# the space invoking this script (with name: $NAME) is currently selected:
# https://felixkratz.github.io/SketchyBar/config/components#space----associate-mission-control-spaces-with-an-item
sketchybar --set $NAME background.drawing=$SELECTED