nixos-config/modules/home/sketchybar/plugins/space.sh

8 lines
334 B
Bash
Raw Permalink Normal View History

2026-02-21 23:19:14 +01: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"