163 lines
3.5 KiB
YAML
163 lines
3.5 KiB
YAML
# Automatically generated by espanso migration tool
|
|
# Original file: default.yml
|
|
|
|
matches:
|
|
- trigger: ":grue"
|
|
replace: |-
|
|
Grüße,
|
|
Janek
|
|
- trigger: ":gree"
|
|
replace: |-
|
|
Best,
|
|
Janek
|
|
- trigger: ":date"
|
|
replace: "{{mydate}}"
|
|
vars:
|
|
- name: mydate
|
|
type: date
|
|
params:
|
|
format: "%Y-%m-%d"
|
|
# Shell commands
|
|
- trigger: ":ip"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: "curl 'https://api.ipify.org'"
|
|
# Sensitive data through pass
|
|
- trigger: ":ep"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/email/personal
|
|
- trigger: ":ec"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/email/church
|
|
- trigger: ":eu"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/email/uni
|
|
- trigger: ":eaur"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/email/aur
|
|
- trigger: ":a0"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/address | head -1
|
|
- trigger: ":a1"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/address | head -2 | tail -1
|
|
- trigger: ":as"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: "pass info/address | head -2 | tail -1 | cut -d' ' -f1"
|
|
- trigger: ":a2"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/address | tail -1
|
|
- trigger: ":ap"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: "pass info/address | tail -1 | cut -d' ' -f1"
|
|
- trigger: ":ac"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: "pass info/address | tail -1 | cut -d' ' -f2"
|
|
- trigger: ":tel"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/phone
|
|
- trigger: ":adt"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/address-bt
|
|
- trigger: ":add"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/address
|
|
- trigger: ":tax"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/tax-id | head -1
|
|
- trigger: ":ss"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/social-security | head -1
|
|
- trigger: ":sign"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/signature
|
|
- trigger: ":sigo"
|
|
replace: |-
|
|
#+ATTR_ORG: :width 200
|
|
#+ATTR_LATEX: :width 4cm :center nil
|
|
[[file:{{signature}}]] \\
|
|
{{name}}
|
|
vars:
|
|
- name: signature
|
|
type: match
|
|
params:
|
|
trigger: ":sign"
|
|
- name: name
|
|
type: match
|
|
params:
|
|
trigger: ":a0"
|
|
- trigger: ":iban"
|
|
replace: "{{output}}"
|
|
vars:
|
|
- name: output
|
|
type: shell
|
|
params:
|
|
cmd: pass info/banking/dkb | head -1
|