config/espanso: experiments for pass

This commit is contained in:
xeruf 2023-11-04 19:14:01 +01:00
parent 91d3180a7b
commit 334368a01f
2 changed files with 18 additions and 8 deletions

View File

@ -15,13 +15,14 @@ matches:
Janek Janek
- trigger: ";greb" - trigger: ";greb"
replace: |- replace: |-
Grüße aus Bayreuth, Grüße,
Janek Fischer Janek Fischer
-- ---
Technischer Leiter https://software-challenge.de, deutscher Programmierwettbewerb für Schüler Technischer Leiter https://software-challenge.de, deutscher Programmierwettbewerb für Schüler
CTO der FTT Forensic Discovery GmbH - gesunde IT aus Bayreuth: https://forensicdiscovery.de CTO der FTT Forensic Discovery GmbH - gesunde IT aus Bayreuth: https://forensicdiscovery.de
Software Engineering Student @ https://code.berlin Software Engineering Student @ https://code.berlin
Privater Blog: https://barelybuggy.blog
- trigger: ";grer" - trigger: ";grer"
replace: |- replace: |-
Greetings from Bavaria, Greetings from Bavaria,

View File

@ -1,5 +1,14 @@
# Sensitive data through pass # Sensitive data through pass
matches: matches:
- trigger: ";env"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: env
shell: bash
debug: true
# {{{1 EMAILS # {{{1 EMAILS
- trigger: ";ep" - trigger: ";ep"
replace: "{{output}}" replace: "{{output}}"
@ -7,28 +16,28 @@ matches:
- name: output - name: output
type: shell type: shell
params: params:
cmd: pass info/email/personal cmd: PASSWORD_STORE_DIR=$HOME/.local/share/pass 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: PASSWORD_STORE_DIR=$HOME/.local/share/pass 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: PASSWORD_STORE_DIR=$HOME/.local/share/pass 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 info/email/aur cmd: PASSWORD_STORE_DIR=$HOME/.local/share/pass pass info/email/aur
# {{{1 ADDRESS # {{{1 ADDRESS
- trigger: ";add" - trigger: ";add"
replace: "{{output}}" replace: "{{output}}"
@ -36,7 +45,7 @@ matches:
- name: output - name: output
type: shell type: shell
params: params:
cmd: pass info/address cmd: PASSWORD_STORE_DIR=$HOME/.local/share/pass pass info/address
- triggers: - triggers:
- ";adb" - ";adb"
- ";adt" - ";adt"
@ -45,7 +54,7 @@ matches:
- name: output - name: output
type: shell type: shell
params: params:
cmd: pass info/address-bt cmd: PASSWORD_STORE_DIR=$HOME/.local/share/pass pass info/address-bt
- triggers: - triggers:
- ";adw" - ";adw"
- ";ads" - ";ads"