Inspired by https://github.com/fdw/rofimoji but written as rofi-script instead of starting a separate rofi.
It also automatically downloads the list of emojis when used for the first time. You can also place
emoji.txt from this repository in
rofi -modi 'run,drun,emoji:/path/to/rofimoji/rofimoji.sh' -show emoji
Enter copies the selected emoji into the clipboard. Requires xsel to work.