swiftbar / SwiftBar

Powerful macOS menu bar customization tool
https://swiftbar.app
MIT License
2.87k stars 91 forks source link

Refresh Indicator #321

Closed carlosfrodriguez closed 1 year ago

carlosfrodriguez commented 2 years ago

Add an option to have a visual feedback when the plugins are refreshing.

This was done in BitBar and it is also present in xbar, would be a nice addition to also preserve that feature in SwiftBar (for sure is not needed to be enabled by default)

melonamin commented 2 years ago

I assume you want to see it only for manual Refresh, correct?

carlosfrodriguez commented 2 years ago

Yes, that would be fine

garyking commented 2 years ago

Yes, this is a good idea. For manual refreshes in SwiftBar, the plugin's text should grey out while it refreshes, as it currently does in xbar.

garyking commented 2 years ago

Thanks for the changes! Please close this issue when it's been released, so we are notified.

garyking commented 1 year ago

Thanks. I've updated to the new version just now. But the plugins are not dimming when being manually refreshed, using open -g swiftbar://refreshplugin?name=plugin.1m.js. The command itself works fine as always, but the plugin does not get dimmed while refreshing (such as while it grabs data from the web).

melonamin commented 1 year ago

Yeah, it doesn't do that... Currently it dims the menu on clicking SwiftBar -> Refresh All and a menu item with ... | refresh=true. URL scheme is not included :(

Created #338