sketchybar: init

This commit is contained in:
Nico 2025-05-03 16:16:03 +10:00
parent cc92b9c72c
commit 37f5757b2c
8 changed files with 257 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#!/usr/local/bin/bash
# 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"
if [ $SELECTED = 'true' ]; then
sketchybar --set "$NAME" background.color=0xfff48fb1
else
sketchybar --set "$NAME" background.color=0xffffffff
fi