Closed vfosterm closed 1 year ago
Check out the updates
property in the docs: https://felixkratz.github.io/SketchyBar/config/items#scripting-properties
Most configs default to updates=when_shown
, this disables scripts from running for items that are not shown.
Simply set it to updates=on
:
sketchybar --set <name> updates=on
As soon as
sketchybar -m --set <module> drawing=off
is executed within a script that script will never run again despite the set update_freq.Example items/vpn.sh
example plugins/vpn.sh
Script executes fine and works as expected when rerun from CLI.
Workaround in this case is to use icon.drawing instead of drawing. Not sure if this behaviour is as expected