SwiftBar icon indicating copy to clipboard operation
SwiftBar copied to clipboard

Refresh Indicator

Open carlosfrodriguez opened this issue 3 years ago • 4 comments

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)

carlosfrodriguez avatar May 23 '22 16:05 carlosfrodriguez

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

melonamin avatar May 29 '22 14:05 melonamin

Yes, that would be fine

carlosfrodriguez avatar May 30 '22 03:05 carlosfrodriguez

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 avatar Jul 11 '22 01:07 garyking

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

garyking avatar Jul 27 '22 20:07 garyking

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).

garyking avatar Oct 23 '22 20:10 garyking

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

melonamin avatar Oct 23 '22 22:10 melonamin