summaryrefslogtreecommitdiff
path: root/espanso
diff options
context:
space:
mode:
Diffstat (limited to 'espanso')
-rw-r--r--espanso/match/utils.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/espanso/match/utils.yml b/espanso/match/utils.yml
index c7a43b6..7621513 100644
--- a/espanso/match/utils.yml
+++ b/espanso/match/utils.yml
@@ -27,6 +27,13 @@ matches:
type: date
params:
format: "%a, %d %b %Y %H:%M:%S %z"
+ - trigger: ;;pathdate
+ replace: "{{time}}"
+ vars:
+ - name: time
+ type: date
+ params:
+ format: "%Y/%m/%d/"
- trigger: ;;shrug
replace: ¯\_(ツ)_/¯
- trigger: ;;bshrug