mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
PluginsManager: improve query navigation
This commit is contained in:
parent
daedc03008
commit
658ddb2cf6
1 changed files with 6 additions and 3 deletions
|
|
@ -77,9 +77,10 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
||||||
{
|
{
|
||||||
Title = Settings.HotKeyInstall,
|
Title = Settings.HotKeyInstall,
|
||||||
IcoPath = icoPath,
|
IcoPath = icoPath,
|
||||||
|
AutoCompleteText = $"{Context.CurrentPluginMetadata.ActionKeyword} {Settings.HotKeyInstall} ",
|
||||||
Action = _ =>
|
Action = _ =>
|
||||||
{
|
{
|
||||||
Context.API.ChangeQuery("pm install ");
|
Context.API.ChangeQuery($"{Context.CurrentPluginMetadata.ActionKeyword} {Settings.HotKeyInstall} ");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -87,9 +88,10 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
||||||
{
|
{
|
||||||
Title = Settings.HotkeyUninstall,
|
Title = Settings.HotkeyUninstall,
|
||||||
IcoPath = icoPath,
|
IcoPath = icoPath,
|
||||||
|
AutoCompleteText = $"{Context.CurrentPluginMetadata.ActionKeyword} {Settings.HotkeyUninstall} ",
|
||||||
Action = _ =>
|
Action = _ =>
|
||||||
{
|
{
|
||||||
Context.API.ChangeQuery("pm uninstall ");
|
Context.API.ChangeQuery($"{Context.CurrentPluginMetadata.ActionKeyword} {Settings.HotkeyUninstall} ");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -97,9 +99,10 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
||||||
{
|
{
|
||||||
Title = Settings.HotkeyUpdate,
|
Title = Settings.HotkeyUpdate,
|
||||||
IcoPath = icoPath,
|
IcoPath = icoPath,
|
||||||
|
AutoCompleteText = $"{Context.CurrentPluginMetadata.ActionKeyword} {Settings.HotkeyUpdate} ",
|
||||||
Action = _ =>
|
Action = _ =>
|
||||||
{
|
{
|
||||||
Context.API.ChangeQuery("pm update ");
|
Context.API.ChangeQuery($"{Context.CurrentPluginMetadata.ActionKeyword} {Settings.HotkeyUpdate} ");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue