Last active
May 3, 2025 21:10
-
-
Save smeech/3ad2754ec4d5b52a8a7b1affbf0b4f36 to your computer and use it in GitHub Desktop.
[Add text from file] #espanso #python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # From https://github.com/espanso/espanso/discussions/1908 | |
| matches: | |
| - trigger: :test | |
| replace: "{{output}}" | |
| vars: | |
| - name: output | |
| type: script | |
| params: | |
| args: | |
| - python | |
| - -c | |
| - print(open("/home/stephen/tmp.txt", "r").read()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment