mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 21:23:38 +00:00
4f4165a8b9
This commit adds a module to configure espanso, a program to do text expansions that is configured using a YAML configuration file.
17 lines
301 B
YAML
17 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
|