feat(espanso): add a basic setup for snippets with Espanso

This commit is contained in:
Stefan Imhoff
2022-12-23 18:47:54 +01:00
parent f353546a59
commit 5c48453bdd
7 changed files with 58 additions and 0 deletions

16
espanso/match/base.yml Normal file
View File

@@ -0,0 +1,16 @@
imports:
- "../../private/espanso/finance.yml"
matches:
# Simple text replacement
- trigger: ":espanso"
replace: "Hello World"
# Print the output of a shell command
- trigger: ":shell"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: "echo 'Hello from your shell'"