dotfiles/bottom_bar/plugins/space.sh~

8 lines
330 B
Bash
Raw Normal View History

2023-11-18 19:56:03 +00:00
#!/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