An emoji selector plugin for Rofi that copies the selected emoji to the clipboard.
Run rofi like:
rofi -show emoji -modi emoji
Key | Effect |
---|---|
Enter | Copy emoji to clipboard |
Note: If you change your keybind for kb-accept
, then your change will
also apply here.
Dependency | Version |
---|---|
rofi | 1.4 (or git) |
In order to actually use rofi-emoji an "adapter" need to be installed, as appropriate for your environment.
Dependency | Environment |
---|---|
xsel | X11 |
xclip | X11 |
copyq | X11 |
wl-clipboard | Wayland |
You only need to install one of them for your environment.
pacman -S rofi-emoji
pacman -S rofi-emoji
xbps-install -S rofi-emoji
nix-env -e rofi-emoji
rofi-emoji
uses autotools as build system. On Debian/Ubuntu based systems you
will need to install the packages first:
rofi-dev
autoconf
automake
libtool-bin
libtool
Download the source and run the following to install it:
autoreconf -i
mkdir build
cd build/
../configure
make
sudo make install
When installing the emoji database (all_emojis.txt
file) is installed in
$PREFIX/share/rofi-emoji
. The plugin will search $XDG_DATA_DIRS
for a
directory where rofi-emoji/all_emojis.txt
exists in. If the plugin cannot
find the data, make sure $XDG_DATA_DIRS
is set correctly.
If it is unset it should default to /usr/local/share:/usr/share
, which works
with the most common prefixes.
The list is copied from the Mange/emoji-data repo.
This plugin is released under the MIT license. See LICENSE
for more details.