From c163f505bdf18ce349f60d58b3e46fe8f3ddc1a8 Mon Sep 17 00:00:00 2001 From: datadavev <605409+datadavev@users.noreply.github.com> Date: Tue, 18 Oct 2022 07:04:58 -0400 Subject: [PATCH] Espanso integration --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index 399b3b6..8cf2c83 100644 --- a/README.md +++ b/README.md @@ -141,4 +141,33 @@ Example following link header: "dcat": "http://www.w3.org/ns/dcat#", "3DModel": {"@id": "schema:3DModel"}, ... +``` + +## Integrations + +A configuration for use with [espanso](https://espanso.org/): + +``` + - trigger: ":htrace" + replace: "{{the_trace}}" + vars: + - name: "form1" + type: form + params: + layout: "URL:[[url]]\n[[accepts]]" + fields: + url: + multiline: false + accepts: + type: choice + values: + - "*/*" + - "text/html" + - "application/ld+json" + - "application/json" + default: "*/*" + - name: the_trace + type: shell + params: + cmd: "htrace -m '{{form1.url}}' 2>&1" ``` \ No newline at end of file