mrowa44 / emojify

Emoji on the command line :scream:
MIT License
1.55k stars 70 forks source link

How to use emojify with espanso #58

Open HaleTom opened 8 months ago

HaleTom commented 8 months ago

Espanso expands text typed from the keyboard, and works great with emojify.

eg, I can type :heart: anywhere, and it is replaced with ❤️.

matches:
  # Emojify emoji expansion :emoji:
  - regex: /:(?P<emojiName>[^:\s]+):/
    replace: "{{output}}"
    vars:
      - name: output
        type: shell
        params:
          cmd: emojify "{{emojiName}}"

Is there a wiki or KB that this could go into?