Gradience icon indicating copy to clipboard operation
Gradience copied to clipboard

feat: Recognize init, enable and disable signals in plugins

Open tfuxu opened this issue 2 years ago • 0 comments

Feature description

It would be generally good to signal a plugin that it's going to be enabled or disabled, so that for example cleaning could be done on disable signal, or setting new Flatpak overrides on enable. There also should be an init signal emitted when Gradience is starting loading plugins. I suggest making it similar to how Shell extensions are structured with init(), enable() and disable() functions.

Additional Context

No response

Did you read the Code of Conduct?

tfuxu avatar Jan 14 '23 15:01 tfuxu