feat: add a history attribute to plugin config as described in #110 (#112)

* feat: add a history attribute to plugin config as described in #110

closes #110

* fix: Correct grammar mistake in comment

Co-authored-by: Jacob Kauffmann <jacobgkau@users.noreply.github.com>
This commit is contained in:
Paul Delafosse 2022-05-12 16:42:56 +02:00 • committed by GitHub
parent 1552b585d6
commit a5c2569654
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 15 additions and 5 deletions

View file

@ -54,7 +54,7 @@ A plugin's metadata is defined `pop-launcher/plugins/{plugin}/plugin.ron`.
description: "Plugin Description: Example",
bin: (
path: "name-of-executable-in-plugin-folder",
)
),
icon: Name("icon-name-or-path"),
// Optional
query: (
@ -65,7 +65,9 @@ A plugin's metadata is defined `pop-launcher/plugins/{plugin}/plugin.ron`.
// Optional -- avoid sorting results from this plugin
no_sort: true,
// Optional -- pattern that a query must have to be sent to plugin
regex: "pattern"
regex: "pattern",
// Optional -- the launcher should keep a history for this plugin
history: true,
)
)
```