|
2 anni fa | |
---|---|---|
.gitignore | 3 anni fa | |
LICENSE | 2 anni fa | |
changelog.md | 2 anni fa | |
extract_emojis.py | 2 anni fa | |
readme.md | 2 anni fa | |
requirements-dev.txt | 2 anni fa | |
rofimoji.py | 2 anni fa | |
screenshot.png | 3 anni fa |
How often did you want to insert one of those Unicode emoji only to learn that there is no nice picker for Linux? Fear no more, this script uses the power of rofi to present exactly the picker you always wanted. Inserts the selected emoji directly, or copies it to the clipboard.
rofimoji.py
alt+enter
enter
to insert the emoji directly
alt+c
to copy it to the clipboardA kind soul has packaged it as rofimoji-git. To, install, use yaourt -S rofimoji-git
.
Download rofimoji.py
and move it somewhere on your path, for example /usr/local/bin
.
What else do you need:
For Ubuntu zesty: sudo aptitude install python3 fonts-emojione xsel xdotool
For Arch/Manjaro: yay -S python ttf-emojione-color xsel xdotool
This is only needed if a new Unicode version came out and you can’t wait for the official update!
pip install -r requirements-dev.txt
extract_emojis.py
- this downloads the complete list from https://unicode.org/emoji/charts-11.0/full-emoji-list.html, so don’t do it too often!emojis.py
should have been created. Open it and copy the contentsrofimoji.py
and replace the emoji list with the contents of emojis.py
emojis.py
?Because now you only have to download one file, and it works Additionally, we need no separate I/O just to load the emojis. This is good, right?