panoskouf / emoji-menu

πŸ” Easily find and copy emojis on Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🎩 Emoji Menu

Easily find and copy emojis on Linux. πŸ₯³

Demo

whats the difference with the upstream

This is modified to have only one option: to paste the selected option AND copy it to clipboard.
You can also have phrases instead of just words or emojis by separating the words with underscore.

Make sure to check the original project to see if it suits you better.

✨ Install

Simply install emoji-menu to your $PATH:

wget 'https://bit.ly/emoji-menu'
chmod +x emoji-menu
sudo mv emoji-menu /usr/local/bin

Be sure to install the dependencies as well

# For non-Debian, replace apt with your package manager (e.g. yum)
sudo apt install rofi xclip xdotool wget grep coreutils
  • rofi works like dmenu, but supports large input.
  • xclip lets us copy to clipboard.
  • xdotool lets us type the result.
  • You already have wget, grep, and coreutils.

πŸ‘¨β€πŸŽ€ Emojis

By default the program automatically downloads all emojis on first run.

The $EMOJI_MENU_DB environment variable defaults to ~/.emoji-menu-db.

To customize, store one emoji per line with its keywords, e.g.

✨ sparkles stars magic
πŸ§™ mage wizard magician
🌍 globe earth europe africa
good_mornings_πŸŒ‡ gm

Pretty simple! You can add other strings too. They don't have to be emojis.

*️⃣ Hotkeys

You definitely want emoji-menu on a hotkey.

In the examples below, I assign Mod + Ctrl + x.

Generic

For a solution that works on most window managers, try xbindkeys. In your config:

"emoji-menu"
  control+alt + x

Xmonad

If you use Xmonad as your window manager, set keys config like so:

  -- Emoji Menu
 , ((modMask .|. controlMask, xK_x),
    spawn "emoji-menu")

i3wm

For i3 add a bindsym to your config:

bindsym $mod+Control+x emoji-menu

Elementary OS

Simply add a custom shortcut by navigating to Settings -> Shortcuts -> Custom
add the command emoji-menu and the shortcut of your choice

Other

If none of the above works for you, please open an issue.

About

πŸ” Easily find and copy emojis on Linux

License:MIT License


Languages

Language:Shell 100.0%