matryer / xbar

Put the output from any script or program into your macOS Menu Bar (the BitBar reboot)
https://xbarapp.com
MIT License
17.56k stars 643 forks source link

Any way to show progress? #756

Open dzg opened 3 years ago

dzg commented 3 years ago

I wrote a plugin that takes time to generate its output. Is there any way to update the display with a "loading..." type text? Like, start with "Loading..." and then, when complete, replace the output with the final result. Or can I "append" lines to the output as they become available?

matryer commented 3 years ago

@dzg we have plans to add a streaming capability to allow plugins to keep working without blocking the UI, but it's not ready yet. I think that might be the best way to solve this.

alock commented 1 year ago

+1 for this. Linking Swiftbar's syntax for this concept here