feat: Allow plugins to signal to deactivate themselves
Necessary when a plugin is unsupported
This commit is contained in:
parent
5ce96c624b
commit
6efad71f0e
3 changed files with 14 additions and 2 deletions
|
|
@ -72,11 +72,13 @@ pub enum PluginResponse {
|
|||
Clear,
|
||||
/// Close the launcher.
|
||||
Close,
|
||||
// Additional options for launching a certain item
|
||||
// Additional options for launching a certain item.
|
||||
Context {
|
||||
id: Indice,
|
||||
options: Vec<ContextOption>,
|
||||
},
|
||||
/// Instruct the launcher service to deactivate this plugin.
|
||||
Deactivate,
|
||||
// Notifies that a .desktop entry should be launched by the frontend.
|
||||
DesktopEntry {
|
||||
path: PathBuf,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue