You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run SketchyBar plugin scripts that call sketchybar --set #87
SketchyBar plugins report their state by calling sketchybar --set "$NAME" label=… icon=… instead of printing it. StableBar scripts print their output, so every plugin has to be rewritten before it works.
Proposal
Put a sketchybar executable first on the PATH of widget commands. It turns --set "$NAME" with label, icon, drawing, label.color and icon.color (0xAARRGGBB) into output for that widget, and --trigger into StableBar --trigger. Other properties are listed in Diagnostics and otherwise ignored, so a plugin's main output still shows.
This needs a way to replace a widget's output from outside its own stdout. StableBar has none today: --set edits the configuration.
The scope is plugin scripts that StableBar widgets run, not sketchybarrc, which builds the bar with --add.
Closing as not planned. A fake sketchybar on the PATH would emulate a small part of SketchyBar's commands, would shadow a real SketchyBar install, and needs a new way to replace a widget's output from outside its script. Every unsupported property would come back as a bug report. #86 covers porting a plugin instead: most only need their --set line replaced by a printf.
Activity
Seb-GRAF commentedon Oct 22, 2026
Closing as not planned. A fake
sketchybaron thePATHwould emulate a small part of SketchyBar's commands, would shadow a real SketchyBar install, and needs a new way to replace a widget's output from outside its script. Every unsupported property would come back as a bug report. #86 covers porting a plugin instead: most only need their--setline replaced by aprintf.