summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar/plugins/space.sh
blob: b8602b55f66fb67b1e13e09f6551f57a776aa4a1 (plain)
1
2
3
4
5
6
7
#!/bin/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"