config/espanso/match: amend structure

This commit is contained in:
xeruf 2022-05-03 14:37:40 +02:00
parent 8b8c203e29
commit 4c86b88a61
3 changed files with 19 additions and 12 deletions

View File

@ -24,3 +24,12 @@ matches:
type: shell type: shell
params: params:
cmd: "curl 'https://api.ipify.org'" cmd: "curl 'https://api.ipify.org'"
# Data
- trigger: ":bic"
replace: "BYLADEM1001"
- trigger: ":dkb"
replace: "Deutsche Kreditbank"
# Phrases
- trigger: ":ek"
replace: "passt :) schauen sie auch gerne noch die anderen Sachen an, wir sortieren grad einiges aus ;)"

View File

@ -1,5 +1,6 @@
# Sensitive data through pass # Sensitive data through pass
matches: matches:
# {{{1 EMAILS
- trigger: ":ep" - trigger: ":ep"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
@ -28,6 +29,8 @@ matches:
type: shell type: shell
params: params:
cmd: pass info/email/aur cmd: pass info/email/aur
# {{{1 ADDRESS
# Postal name
- trigger: ":a0" - trigger: ":a0"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
@ -35,6 +38,7 @@ matches:
type: shell type: shell
params: params:
cmd: pass info/address | head -1 cmd: pass info/address | head -1
# Street Address
- trigger: ":a1" - trigger: ":a1"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
@ -42,6 +46,7 @@ matches:
type: shell type: shell
params: params:
cmd: pass info/address | head -2 | tail -1 cmd: pass info/address | head -2 | tail -1
# Street
- trigger: ":as" - trigger: ":as"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
@ -49,6 +54,7 @@ matches:
type: shell type: shell
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
- trigger: ":a2" - trigger: ":a2"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
@ -56,6 +62,7 @@ matches:
type: shell type: shell
params: params:
cmd: pass info/address | tail -1 cmd: pass info/address | tail -1
# PLZ
- trigger: ":ap" - trigger: ":ap"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
@ -63,6 +70,7 @@ matches:
type: shell type: shell
params: params:
cmd: "pass info/address | tail -1 | cut -d' ' -f1" cmd: "pass info/address | tail -1 | cut -d' ' -f1"
# City
- trigger: ":ac" - trigger: ":ac"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
@ -91,6 +99,7 @@ matches:
type: shell type: shell
params: params:
cmd: pass info/address cmd: pass info/address
# {{{1 NUMBERS
- trigger: ":tax" - trigger: ":tax"
replace: "{{output}}" replace: "{{output}}"
vars: vars:
@ -119,6 +128,7 @@ matches:
type: shell type: shell
params: params:
cmd: pass info/banking/dkb | head -1 cmd: pass info/banking/dkb | head -1
# {{{1 EXTRAS
- trigger: ":sigo" - trigger: ":sigo"
replace: |- replace: |-
#+ATTR_ORG: :width 200 #+ATTR_ORG: :width 200

View File

@ -1,12 +0,0 @@
{
"notify_major" : "false",
"notify_minor" : "false",
"notify_bubble" : "false",
"notify_dialog" : "false",
"hide_unstable" : "true",
"hide_older" : "true",
"notify_interval_unit" : "2",
"notify_interval_value" : "10",
"grub_timeout" : "5",
"update_grub_timeout" : "false"
}