mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(espanso): add a basic setup for snippets with Espanso
This commit is contained in:
16
espanso/match/base.yml
Normal file
16
espanso/match/base.yml
Normal 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'"
|
||||
Reference in New Issue
Block a user