config/espanso: add address [p]lz and [c]ity

This commit is contained in:
xeruf 2021-12-02 23:29:05 +01:00
parent ba608af9d6
commit e536dc3f4e
1 changed files with 16 additions and 0 deletions

View File

@ -91,6 +91,22 @@ matches:
params: params:
cmd: "pass information/address | tail -1" cmd: "pass information/address | tail -1"
- trigger: ":ap"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: "pass information/address | tail -1 | cut -d' ' -f1"
- trigger: ":ac"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: "pass information/address | tail -1 | cut -d' ' -f2"
- trigger: ":tel" - trigger: ":tel"
replace: "{{output}}" replace: "{{output}}"
vars: vars: