Config and setup files

add atproto did replacer

finxol.io bf0050fe c899fab3

verified
Changed files
+20 -23
espanso
match
+20 -23
espanso/match/base.yml
···
# Matches are substitution rules: when you type the "trigger" string
# it gets replaced by the "replace" string.
matches:
-
# Simple text replacement
-
- trigger: ":espanso"
-
replace: "Hi there!"
+
- trigger: ":did"
+
replace: "did:plc:hpmpe3pzpdtxbmvhlwrevhju"
-
# NOTE: espanso uses YAML to define matches, so pay attention to the indentation!
+
# Matches can also be dynamic:
-
# But matches can also be dynamic:
+
# Print the current date
+
- trigger: ":date"
+
replace: "{{mydate}}"
+
vars:
+
- name: mydate
+
type: date
+
params:
+
format: "%d/%m/%Y"
-
# Print the current date
-
- trigger: ":date"
-
replace: "{{mydate}}"
-
vars:
-
- name: mydate
-
type: date
-
params:
-
format: "%m/%d/%Y"
+
# Print the output of a shell command
+
- trigger: ":shell"
+
replace: "{{output}}"
+
vars:
+
- name: output
+
type: shell
+
params:
+
cmd: "echo 'Hello from your shell'"
-
# Print the output of a shell command
-
- trigger: ":shell"
-
replace: "{{output}}"
-
vars:
-
- name: output
-
type: shell
-
params:
-
cmd: "echo 'Hello from your shell'"
-
-
# And much more! For more information, visit the docs: https://espanso.org/docs/
+
# And much more! For more information, visit the docs: https://espanso.org/docs/