Skip to content

Commit

Permalink
Espanso integration
Browse files Browse the repository at this point in the history
  • Loading branch information
datadavev committed Oct 18, 2022
1 parent 54d96ed commit c163f50
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

0 comments on commit c163f50

Please sign in to comment.