anilr 发表于 2026-7-22 20:32:24

Let plugins switch profiles (add a switch-profile command to the plugin API)

Request: please add a plugin API to switch the active profile. Right now a plugin can change a key's icon but has no way to change profiles, and that one gap blocks a whole class of plugins.
My use case: a single button that acts like a smarter auto-switch. It shows the icon of whatever app is focused (open Zoom → Zoom icon) and, when pressed, switches the deck to that app's profile. A plugin can already detect the focused app and update the icon — it just can't do the switch.
As far as I can tell there's no command for it (the manifest has a Profiles field, but nothing at runtime to actually switch). Three things would fully enable this:
[*]Switch profile/page — a command to switch to any user profile by name or UUID (not only plugin-bundled ones).
[*]Read the current profile — so a plugin can tell where it already is.
[*]Nice-to-have: a "focused app changed" event — so plugins don't have to poll the OS.

Even just #1 and #2 would make this possible. Thanks!

Ulanzi 发表于 2026-7-23 18:35:31

Hello, thank you for submitting this request. After evaluation by our team, we plan to gradually release the API for these types of plugins in future versions.
Currently, the team is busy developing a new project, so it will take some time; we cannot provide a specific timeline at this time.
As soon as we have an update, we will post it on GitHub and issue a notice on the forum.

页: [1]
查看完整版本: Let plugins switch profiles (add a switch-profile command to the plugin API)