mirror of
https://github.com/nix-community/home-manager
synced 2024-08-23 04:26:30 +02:00
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
|