
This commit adds a module to configure espanso, a program to do text expansions that is configured using a YAML configuration file.
18 lines
301 B
YAML
18 lines
301 B
YAML
matches:
|
|
- replace: Hi there!
|
|
trigger: :espanso
|
|
- replace: '{{mydate}}'
|
|
trigger: :date
|
|
vars:
|
|
- name: mydate
|
|
params:
|
|
format: '%m/%d/%Y'
|
|
type: date
|
|
- replace: '{{output}}'
|
|
trigger: :shell
|
|
vars:
|
|
- name: output
|
|
params:
|
|
cmd: echo Hello from your shell
|
|
type: shell
|