config/espanso/match: trigger on semicolon rather than colon

This commit is contained in:
xeruf 2022-05-11 18:28:31 +02:00
parent 93f9a5687d
commit 0485ba87d3
3 changed files with 40 additions and 40 deletions

View File

@ -1,15 +1,15 @@
matches:
- trigger: ":see"
- trigger: ";see"
replace: "🙈"
- trigger: ":grue"
- trigger: ";grue"
replace: |-
Grüße,
Janek
- trigger: ":gree"
- trigger: ";gree"
replace: |-
Best,
Janek
- trigger: ":date"
- trigger: ";date"
replace: "{{mydate}}"
vars:
- name: mydate
@ -17,7 +17,7 @@ matches:
params:
format: "%Y-%m-%d"
# Shell commands
- trigger: ":ip"
- trigger: ";ip"
replace: "{{output}}"
vars:
- name: output
@ -25,11 +25,11 @@ matches:
params:
cmd: "curl 'https://api.ipify.org'"
# Data
- trigger: ":bic"
- trigger: ";bic"
replace: "BYLADEM1001"
- trigger: ":dkb"
- trigger: ";dkb"
replace: "Deutsche Kreditbank"
# Phrases
- trigger: ":ek"
- trigger: ";ek"
replace: "passt :) schauen sie auch gerne noch die anderen Sachen an, wir sortieren grad einiges aus ;)"

View File

@ -2,27 +2,27 @@
# Original file: packages/basic-emojis/package.yml
matches:
- trigger: ":lol"
- trigger: ";lol"
replace: 😂
- trigger: ":llol"
- trigger: ";llol"
replace: 😂😂😂😂
- trigger: ":sad"
- trigger: ";sad"
replace:
- trigger: ":ssad"
- trigger: ";ssad"
replace: ☹☹☹☹
- trigger: ":sml"
- trigger: ";sml"
replace: 😊
- trigger: ":strong"
- trigger: ";strong"
replace: 💪
- trigger: ":stlol"
- trigger: ";stlol"
replace: 💪😂
- trigger: ":ok"
- trigger: ";ok"
replace: 👍
- trigger: ":ook"
- trigger: ";ook"
replace: 👍👍👍👍
- trigger: ":happy"
- trigger: ";happy"
replace: 😄
- trigger: ":cry"
- trigger: ";cry"
replace: 😭
- trigger: ":wow"
- trigger: ";wow"
replace: 😮

View File

@ -1,28 +1,28 @@
# Sensitive data through pass
matches:
# {{{1 EMAILS
- trigger: ":ep"
- trigger: ";ep"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: pass info/email/personal
- trigger: ":ec"
- trigger: ";ec"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: pass info/email/church
- trigger: ":eu"
- trigger: ";eu"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: pass info/email/uni
- trigger: ":eaur"
- trigger: ";eaur"
replace: "{{output}}"
vars:
- name: output
@ -31,7 +31,7 @@ matches:
cmd: pass info/email/aur
# {{{1 ADDRESS
# Postal name
- trigger: ":a0"
- trigger: ";a0"
replace: "{{output}}"
vars:
- name: output
@ -39,7 +39,7 @@ matches:
params:
cmd: pass info/address | head -1
# Street Address
- trigger: ":a1"
- trigger: ";a1"
replace: "{{output}}"
vars:
- name: output
@ -47,7 +47,7 @@ matches:
params:
cmd: pass info/address | head -2 | tail -1
# Street
- trigger: ":as"
- trigger: ";as"
replace: "{{output}}"
vars:
- name: output
@ -55,7 +55,7 @@ matches:
params:
cmd: "pass info/address | head -2 | tail -1 | cut -d' ' -f1"
# PLZ + City
- trigger: ":a2"
- trigger: ";a2"
replace: "{{output}}"
vars:
- name: output
@ -63,7 +63,7 @@ matches:
params:
cmd: pass info/address | tail -1
# PLZ
- trigger: ":ap"
- trigger: ";ap"
replace: "{{output}}"
vars:
- name: output
@ -71,28 +71,28 @@ matches:
params:
cmd: "pass info/address | tail -1 | cut -d' ' -f1"
# City
- trigger: ":ac"
- trigger: ";ac"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: "pass info/address | tail -1 | cut -d' ' -f2"
- trigger: ":tel"
- trigger: ";tel"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: pass info/phone
- trigger: ":adt"
- trigger: ";adt"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: pass info/address-bt
- trigger: ":add"
- trigger: ";add"
replace: "{{output}}"
vars:
- name: output
@ -100,28 +100,28 @@ matches:
params:
cmd: pass info/address
# {{{1 NUMBERS
- trigger: ":tax"
- trigger: ";tax"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: pass info/tax-id | head -1
- trigger: ":ss"
- trigger: ";ss"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: pass info/social-security | head -1
- trigger: ":sign"
- trigger: ";sign"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: pass info/signature
- trigger: ":iban"
- trigger: ";iban"
replace: "{{output}}"
vars:
- name: output
@ -129,7 +129,7 @@ matches:
params:
cmd: pass info/banking/dkb | head -1
# {{{1 EXTRAS
- trigger: ":sigo"
- trigger: ";sigo"
replace: |-
#+ATTR_ORG: :width 200
#+ATTR_LATEX: :width 4cm :center nil
@ -139,8 +139,8 @@ matches:
- name: signature
type: match
params:
trigger: ":sign"
trigger: ";sign"
- name: name
type: match
params:
trigger: ":a0"
trigger: ";a0"