!today, !2hours, etc...Show me your text expanders for dynalist

I am using espanso.

  # dynalist !1d = tomorrow
  - trigger: "!1d"
    replace: "!({{mydate}})"
    vars:
      - name: mydate
        type: date
        params:
          format: "%m-%d-%Y"
          offset: 86400

  # dynalist !2d = in 2 days
  - trigger: "!2d"
    replace: "!({{mydate}})"
    vars:
      - name: mydate
        type: date
        params:
          format: "%m-%d-%Y"
          offset: 172800

  # dynalist !3d = in 3 days
  - trigger: "!3d"
    replace: "!({{mydate}})"
    vars:
      - name: mydate
        type: date
        params:
          format: "%m-%d-%Y"
          offset: 259200

  # dynalist !1h = in 1 hour
  - trigger: "!1h"
    replace: "!({{mydate}})"
    vars:
      - name: mydate
        type: date
        params:
          format: "%m-%d-%Y %H:%M"
          offset: 3600

  # dynalist !2h = in 2 hour
  - trigger: "!2h"
    replace: "!({{mydate}})"
    vars:
      - name: mydate
        type: date
        params:
          format: "%m-%d-%Y %H:%M"
          offset: 7200

  # dynalist !3h = in 3 hour
  - trigger: "!3h"
    replace: "!({{mydate}})"
    vars:
      - name: mydate
        type: date
        params:
          format: "%m-%d-%Y %H:%M"
          offset: 10800
4 Likes

Great tool, thank you BigChungus.

Now I can use !tod, !tom and !week in “capture into my inbox” feature.
I changed format: "%Y-%m-%d", because I like my dates without time.

1 Like