config/espanso: add address [p]lz and [c]ity
This commit is contained in:
parent
ba608af9d6
commit
e536dc3f4e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue