sketchybar: init
This commit is contained in:
parent
cc92b9c72c
commit
37f5757b2c
8 changed files with 257 additions and 0 deletions
13
stow/.config/sketchybar/plugins/space.sh
Executable file
13
stow/.config/sketchybar/plugins/space.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue