From 0485ba87d3c6e1d053c529b191d777af36767456 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Wed, 11 May 2022 18:28:31 +0200 Subject: [PATCH] config/espanso/match: trigger on semicolon rather than colon --- .config/espanso/match/base.yml | 16 ++++---- .../match/packages/basic-emojis/package.yml | 24 +++++------ .config/espanso/match/pass.yml | 40 +++++++++---------- 3 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.config/espanso/match/base.yml b/.config/espanso/match/base.yml index d935cc1..5646cfb 100644 --- a/.config/espanso/match/base.yml +++ b/.config/espanso/match/base.yml @@ -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 ;)" diff --git a/.config/espanso/match/packages/basic-emojis/package.yml b/.config/espanso/match/packages/basic-emojis/package.yml index caf91a3..d0ee31c 100644 --- a/.config/espanso/match/packages/basic-emojis/package.yml +++ b/.config/espanso/match/packages/basic-emojis/package.yml @@ -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: ๐Ÿ˜ฎ diff --git a/.config/espanso/match/pass.yml b/.config/espanso/match/pass.yml index 18ae832..2555474 100644 --- a/.config/espanso/match/pass.yml +++ b/.config/espanso/match/pass.yml @@ -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"