docs(toolkit): add a plugin example
This commit is contained in:
parent
8293392969
commit
3f8253ad76
4 changed files with 155 additions and 1 deletions
12
toolkit/examples/plugin.ron
Normal file
12
toolkit/examples/plugin.ron
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(
|
||||
name: "Find man pages",
|
||||
description: "Syntax: { whatis }\nExample: whatis git",
|
||||
query: (
|
||||
regex: "^(whatis ).+",
|
||||
help: "whatis",
|
||||
isolate: true,
|
||||
no_sort: true,
|
||||
),
|
||||
bin: (path: "man-pages-plugin"),
|
||||
icon: Name("org.gnome.Documents-symbolic"),
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue