Files
cyper-nix/home/desktop/sketchybar/plugins/space.sh
2026-04-05 19:32:42 +02:00

8 lines
330 B
Bash
Executable File

#!/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" icon.highlight="$SELECTED"