config/espanso: update to new format

This commit is contained in:
xeruf 2022-04-04 12:25:36 +02:00
parent 0c36b14bbd
commit a4dece85cc
3 changed files with 54 additions and 42 deletions

View File

@ -0,0 +1 @@
search_shortcut: ALT+SHIFT+SPACE

View File

@ -1,14 +1,15 @@
# espanso configuration file # Automatically generated by espanso migration tool
# https://espanso.org/docs/ # Original file: default.yml
matches: matches:
# Simple replacements
- trigger: ":grue" - trigger: ":grue"
replace: "Grüße,\nJanek" replace: |-
Grüße,
Janek
- trigger: ":gree" - trigger: ":gree"
replace: "Best,\nJanek" replace: |-
Best,
Janek
- trigger: ":date" - trigger: ":date"
replace: "{{mydate}}" replace: "{{mydate}}"
vars: vars:
@ -16,7 +17,6 @@ matches:
type: date type: date
params: params:
format: "%Y-%m-%d" format: "%Y-%m-%d"
# Shell commands # Shell commands
- trigger: ":ip" - trigger: ":ip"
replace: "{{output}}" replace: "{{output}}"
@ -25,7 +25,6 @@ matches:
type: shell type: shell
params: params:
cmd: "curl 'https://api.ipify.org'" cmd: "curl 'https://api.ipify.org'"
# Sensitive data through pass # Sensitive data through pass
- trigger: ":ep" - trigger: ":ep"
replace: "{{output}}" replace: "{{output}}"
@ -33,132 +32,116 @@ matches:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/email/personal" cmd: pass info/email/personal
- trigger: ":ec" - trigger: ":ec"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/email/church" cmd: pass info/email/church
- trigger: ":eu" - trigger: ":eu"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/email/uni" cmd: pass info/email/uni
- trigger: ":eaur" - trigger: ":eaur"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/email/aur" cmd: pass info/email/aur
- trigger: ":a0" - trigger: ":a0"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/address | head -1" cmd: pass info/address | head -1
- trigger: ":a1" - trigger: ":a1"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/address | head -2 | tail -1" cmd: pass info/address | head -2 | tail -1
- trigger: ":as" - trigger: ":as"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/address | head -2 | tail -1 | cut -d' ' -f1" cmd: "pass info/address | head -2 | tail -1 | cut -d' ' -f1"
- trigger: ":a2" - trigger: ":a2"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/address | tail -1" cmd: pass info/address | tail -1
- trigger: ":ap" - trigger: ":ap"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/address | tail -1 | cut -d' ' -f1" cmd: "pass info/address | tail -1 | cut -d' ' -f1"
- trigger: ":ac" - trigger: ":ac"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/address | tail -1 | cut -d' ' -f2" cmd: "pass info/address | tail -1 | cut -d' ' -f2"
- trigger: ":tel" - trigger: ":tel"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/phone" cmd: pass info/phone
- trigger: ":adt" - trigger: ":adt"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/address-bt" cmd: pass info/address-bt
- trigger: ":add" - trigger: ":add"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/address" cmd: pass info/address
- trigger: ":tax" - trigger: ":tax"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/tax-id | head -1" cmd: pass info/tax-id | head -1
- trigger: ":ss" - trigger: ":ss"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/social-security | head -1" cmd: pass info/social-security | head -1
- trigger: ":sign" - trigger: ":sign"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/signature" cmd: pass info/signature
- trigger: ":iban" - trigger: ":iban"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
type: shell type: shell
params: params:
cmd: "pass information/banking/dkb | head -1" cmd: pass info/banking/dkb | head -1

View File

@ -0,0 +1,28 @@
# Automatically generated by espanso migration tool
# Original file: packages/basic-emojis/package.yml
matches:
- trigger: ":lol"
replace: 😂
- trigger: ":llol"
replace: 😂😂😂😂
- trigger: ":sad"
replace:
- trigger: ":ssad"
replace: ☹☹☹☹
- trigger: ":sml"
replace: 😊
- trigger: ":strong"
replace: 💪
- trigger: ":stlol"
replace: 💪😂
- trigger: ":ok"
replace: 👍
- trigger: ":ook"
replace: 👍👍👍👍
- trigger: ":happy"
replace: 😄
- trigger: ":cry"
replace: 😭
- trigger: ":wow"
replace: 😮