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
··· 8 8 # Matches are substitution rules: when you type the "trigger" string 9 9 # it gets replaced by the "replace" string. 10 10 matches: 11 - # Simple text replacement 12 - - trigger: ":espanso" 13 - replace: "Hi there!" 11 + - trigger: ":did" 12 + replace: "did:plc:hpmpe3pzpdtxbmvhlwrevhju" 14 13 15 - # NOTE: espanso uses YAML to define matches, so pay attention to the indentation! 14 + # Matches can also be dynamic: 16 15 17 - # But matches can also be dynamic: 16 + # Print the current date 17 + - trigger: ":date" 18 + replace: "{{mydate}}" 19 + vars: 20 + - name: mydate 21 + type: date 22 + params: 23 + format: "%d/%m/%Y" 18 24 19 - # Print the current date 20 - - trigger: ":date" 21 - replace: "{{mydate}}" 22 - vars: 23 - - name: mydate 24 - type: date 25 - params: 26 - format: "%m/%d/%Y" 25 + # Print the output of a shell command 26 + - trigger: ":shell" 27 + replace: "{{output}}" 28 + vars: 29 + - name: output 30 + type: shell 31 + params: 32 + cmd: "echo 'Hello from your shell'" 27 33 28 - # Print the output of a shell command 29 - - trigger: ":shell" 30 - replace: "{{output}}" 31 - vars: 32 - - name: output 33 - type: shell 34 - params: 35 - cmd: "echo 'Hello from your shell'" 36 - 37 - # And much more! For more information, visit the docs: https://espanso.org/docs/ 34 + # And much more! For more information, visit the docs: https://espanso.org/docs/