Created
July 28, 2026 13:32
-
-
Save adgedenkers/623d968698fc2d1cc03854e2eade1a51 to your computer and use it in GitHub Desktop.
Espanso date/time shortcuts - Arcturus
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
| matches: | |
| - trigger: "@dt" | |
| replace: "{{output}}" | |
| vars: | |
| - name: output | |
| type: shell | |
| params: | |
| cmd: "date '+%Y-%m-%d %H:%M:%S %Z'" | |
| - trigger: "@date" | |
| replace: "{{output}}" | |
| vars: | |
| - name: output | |
| type: shell | |
| params: | |
| cmd: "date '+%Y-%m-%d'" | |
| - trigger: "@iso" | |
| replace: "{{output}}" | |
| vars: | |
| - name: output | |
| type: shell | |
| params: | |
| cmd: "date '+%Y-%m-%dT%H:%M:%S%:z'" | |
| - trigger: "@ts" | |
| replace: "{{output}}" | |
| vars: | |
| - name: output | |
| type: shell | |
| params: | |
| cmd: "date '+%s'" | |
| - trigger: "@today" | |
| replace: "{{output}}" | |
| vars: | |
| - name: output | |
| type: shell | |
| params: | |
| cmd: "date '+%A %B %-d, %Y'" | |
| - trigger: "@time" | |
| replace: "{{output}}" | |
| vars: | |
| - name: output | |
| type: shell | |
| params: | |
| cmd: "date '+%H:%M:%S %Z'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment