Inspired by https://github.com/fdw/rofimoji but written as rofi-script instead of starting a separate rofi.
It automatically downloads the list of emojis when used for the first time. To avoid that, simply place
emoji.txt from this repository in
$HOME/.cache/ yourself. But don't worry too much, the download is pretty quick (~350kb text file).
- An emoji capable font, for example Noto Emoji or Noto Color Emoji.
- xsel to copy the selection to the clipboard. You should find it in your package manager.
rofi -modi 'run,drun,emoji:/path/to/rofimoji/rofimoji.sh' -show emoji
Enter copies the selected emoji into the clipboard. Requires xsel to work.