SwiftBar icon indicating copy to clipboard operation
SwiftBar copied to clipboard

Control Centre widgets

Open drewkerr opened this issue 3 months ago • 2 comments

Support for Control Centre in macOS Tahoe would be amazing. Is it possible to display a menu from a small (icon) or medium (icon + label) control? If so, existing plugins might map well.

drewkerr avatar Sep 24 '25 19:09 drewkerr

I think that it is doable, but it needs careful design. To that extent, can you give me an example or two of plugins that you would like to see in the Control Center and how they should look and operate?

melonamin avatar Sep 25 '25 01:09 melonamin

The plugin that made me think of the feature is this one: https://github.com/drewkerr/swiftbar/blob/main/caffeinate.sh It's just a simple toggle. I could almost recreate it as a Shortcut but it wouldn't show the current status (UPDATE: I can show status with the rename shortcut action).

Does the API allow third parties to make expanding menus (like e.g. WiFi control)? That might work with existing plugins.

drewkerr avatar Sep 25 '25 01:09 drewkerr