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: matches:
- trigger: ":see" - trigger: ";see"
replace: "🙈" replace: "🙈"
- trigger: ":grue" - trigger: ";grue"
replace: |- replace: |-
Grüße, Grüße,
Janek Janek
- trigger: ":gree" - trigger: ";gree"
replace: |- replace: |-
Best, Best,
Janek Janek
- trigger: ":date" - trigger: ";date"
replace: "{{mydate}}" replace: "{{mydate}}"
vars: vars:
- name: mydate - name: mydate
@ -17,7 +17,7 @@ matches:
params: params:
format: "%Y-%m-%d" format: "%Y-%m-%d"
# Shell commands # Shell commands
- trigger: ":ip" - trigger: ";ip"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
- name: output - name: output
@ -25,11 +25,11 @@ matches:
params: params:
cmd: "curl 'https://api.ipify.org'" cmd: "curl 'https://api.ipify.org'"
# Data # Data
- trigger: ":bic" - trigger: ";bic"
replace: "BYLADEM1001" replace: "BYLADEM1001"
- trigger: ":dkb" - trigger: ";dkb"
replace: "Deutsche Kreditbank" replace: "Deutsche Kreditbank"
# Phrases # Phrases
- trigger: ":ek" - trigger: ";ek"
replace: "passt :) schauen sie auch gerne noch die anderen Sachen an, wir sortieren grad einiges aus ;)" 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 # Original file: packages/basic-emojis/package.yml
matches: matches:
- trigger: ":lol" - trigger: ";lol"
replace: 😂 replace: 😂
- trigger: ":llol" - trigger: ";llol"
replace: 😂😂😂😂 replace: 😂😂😂😂
- trigger: ":sad" - trigger: ";sad"
replace: replace:
- trigger: ":ssad" - trigger: ";ssad"
replace: ☹☹☹☹ replace: ☹☹☹☹
- trigger: ":sml" - trigger: ";sml"
replace: 😊 replace: 😊
- trigger: ":strong" - trigger: ";strong"
replace: 💪 replace: 💪
- trigger: ":stlol" - trigger: ";stlol"
replace: 💪😂 replace: 💪😂
- trigger: ":ok" - trigger: ";ok"
replace: 👍 replace: 👍
- trigger: ":ook" - trigger: ";ook"
replace: 👍👍👍👍 replace: 👍👍👍👍
- trigger: ":happy" - trigger: ";happy"
replace: 😄 replace: 😄
- trigger: ":cry" - trigger: ";cry"
replace: 😭 replace: 😭
- trigger: ":wow" - trigger: ";wow"
replace: 😮 replace: 😮

View File

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