example space script with freezing

This commit is contained in:
Felix Kratz 2021-09-06 15:24:44 +02:00
parent 95e9fad749
commit 85dbe58f20

View file

@ -1,9 +1,13 @@
#!/usr/bin/env bash
if [ "$SELECTED" = "true" ]; then
sketchybar -m freeze on
sketchybar -m set $NAME icon_highlight on
sketchybar -m set $NAME label_highlight on
sketchybar -m freeze off
else
sketchybar -m freeze on
sketchybar -m set $NAME icon_highlight off
sketchybar -m set $NAME label_highlight off
sketchybar -m freeze off
fi