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
| - trigger: ":sitelen_on" | |
| replace: "{{output}}" | |
| vars: | |
| - name: output | |
| type: shell | |
| params: | |
| cmd: | | |
| dir="$HOME/.config/espanso/match/packages/sitelen-pona" | |
| if [ -f "$dir/_package.yml" ]; then | |
| mv "$dir/_package.yml" "$dir/package.yml" && echo "sitelen pona enabled" |
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
| # yaml-language-server: $schema=https://raw.githubusercontent.com/espanso/espanso/dev/schemas/match.schema.json | |
| global_vars: | |
| - name: alpha | |
| type: echo | |
| params: | |
| echo: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' | |
| - name: numbers | |
| type: echo | |
| params: |
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
| # Triggered by ":sup(some text)" | |
| - regex: :sup\((?P<text>.+)\) | |
| replace: "{{superscript}}" | |
| vars: | |
| - name: superscript | |
| type: script | |
| params: | |
| args: | |
| - python3 |
OlderNewer