Skip to content

Run SketchyBar plugin scripts that call sketchybar --set #87

Closed as not planned

Description

@Seb-GRAF

Problem

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.

Possible today

No. Plugins have to print text, or JSON, instead.

Related

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Oct 19, 2026
  2. Seb-GRAF commented on Oct 22, 2026

    @Seb-GRAF
    CollaboratorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions