Skip to content

Commit

Permalink
feat: Update plugin metadata w/ 2-line syntax/example descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobgkau authored and mmstick committed Oct 5, 2021
1 parent e419882 commit 0c7f363
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions plugins/src/calc/plugin.ron
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(
name: "Calculator",
description: "Calculator with unit conversion (qalc): = 10 J / (196x^2) = 4 kW/s",
name: "Calculator with unit conversion (uses Qalculate! expressions)",
description: "Syntax: = <expression>\nExample: = 10 J / (196x^2) = 4 kW/s",
query: (
regex: "^(=)+",
help: "= ",
Expand Down
6 changes: 3 additions & 3 deletions plugins/src/files/plugin.ron
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(
name: "File Navigation",
description: "Navigate with tab autocomplete: ~/ OR /",
name: "File navigation with tab autocomplete",
description: "Syntax: { / | ~/ }\nExample: ~/Documents",
query: (
regex: "^(/|~).*",
help: "~/",
Expand All @@ -9,4 +9,4 @@
),
bin: (path: "files"),
icon: Name("system-file-manager")
)
)
6 changes: 3 additions & 3 deletions plugins/src/find/plugin.ron
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(
name: "Find",
description: "Find files in the home folder: find {file}",
name: "File search",
description: "Syntax: find <filename>\nExample: find my-document.odt",
query: (
regex: "^(find )+",
help: "find ",
isolate: true,
),
bin: (path: "find"),
icon: Name("system-file-manager")
)
)
6 changes: 3 additions & 3 deletions plugins/src/recent/plugin.ron
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(
name: "Recent Documents",
description: "Show recently-opened files: recent {file}",
name: "Recently-opened document search",
description: "Syntax: recent <filename>\nExample: recent my-document.odt",
query: (
regex: "^(recent)\\s.*",
help: "recent ",
isolate: true
),
bin: (path: "recent"),
icon: Name("system-file-manager")
)
)
6 changes: 3 additions & 3 deletions plugins/src/terminal/plugin.ron
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(
name: "Terminal Commands",
description: "Run commands in a terminal: run {cmd}",
name: "Terminal or background commands",
description: "Syntax: { run | t: | : } <command>\nExample: run sudo apt update",
query: (
regex: "^(:|t:|run ).*",
help: "run ",
isolate: true,
),
bin: (path: "terminal"),
icon: Name("utilities-terminal"),
)
)
6 changes: 3 additions & 3 deletions plugins/src/web/plugin.ron
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(
name: "Web Search",
description: "Site-specific web search: ddg {keywords...}",
name: "Web search",
description: "Syntax: { ddg | g | b | ... } <keywords>\nExample: ddg how to install Pop!_OS",
query: (help: "ddg ", priority: High),
bin: (path: "web"),
icon: Name("system-search"),
)
)

0 comments on commit 0c7f363

Please sign in to comment.