show/hide plugin from command line? #74
-
|
Enjoying this rewrite @FelixKratz, nicely done! I have a plugin which displays my current doing task item. It works great, however, I'd like to hide the plugin from new when I'm not in focus mode. Is there a way to hide / show a plugin using the command line? Thanks to anyone who can help me out! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Sure, you can simply disable drawing of the item: sketchybar -m --set <name> drawing=offand reenable it via: sketchybar -m --set <name> drawing=onIt is also possible to toggle the drawing state via: sketchybar -m --set <name> drawing=toggleHope this answers your question. |
Beta Was this translation helpful? Give feedback.
-
|
That works great! Thanks!! |
Beta Was this translation helpful? Give feedback.
-
|
Is possible to toggle the bar with this code? |
Beta Was this translation helpful? Give feedback.
Sure, you can simply disable drawing of the item:
and reenable it via:
It is also possible to toggle the drawing state via:
Hope this answers your question.
Edit: Update to v2.0.0 Syntax