Giter Site home page Giter Site logo

deadvey / dmenu-emoticon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from porras/dmenu-emoji

0.0 0.0 0.0 48 KB

Search an emoticon by name and copy it to the clipboard [i3, dmenu, rofi] (forked from dmenu-emoji)

License: MIT License

Shell 87.69% Makefile 12.31%

dmenu-emoticon's Introduction

dmenu-emoticon ᕕ( ᐛ )ᕗ

Search an emoticon by name and copy it to the clipboard. Works best with a dmenu variant that does fuzzy search such as rofi, but it's compatible with plain dmenu.

If possible, it also sends a desktop notification for better user feedback.

Screenshot of usage with rofi

[Click the screenshot for a 4MB GIF of how the emoji in the header was added]

Usage with i3

Download dmenu-emoji.sh, make sure it's executable (chmod + x <file>), and store it somewhere in your home directory (or in your $PATH if you prefer). Assign a keystroke in your i3 configuration:

# ~/.config/i3/config

bindsym $mod+space exec path/to/dmenu-emoji.sh

dmenu-emoji.sh is the only file you need, the rest of the files in this repository are scripts to generate that one, which you don't need unless you want to modify it (PRs welcome!).

Tweeking the dmenu command

By default, dmenu is called. If you want to use a different menu or pass some option to it, you can use the list and copy subcommands:

# ~/.config/i3/config

bindsym $mod+space exec dmenu-emoji.sh list | rofi -dmenu -p 'Emoji: ' | dmenu-emoji.sh copy

Similar scripts

  • bemoji. Bash based, supports copying or typing emoji on both Wayland and X11. Remembers your favorite selections.
  • emoji.sh. One liner, requests emojis each time, no autocomplete
  • rofimoji. Python-based, rofi only, can insert directly instead of copy&paste
  • emoji-rofi-menu. Rofi only, can insert directly
  • rofi-emoji. Python-based (but generates a bash script so Python is not used each time), rofi only, inserts-directly
  • dmenu-fontawesome. Search an fontawesome icon by name and copy it to the clipboard.

It takes very little time to write so there are probably more XD

This is a fork of dmenu-emoji and is basically the same but with emoticons instead :/

dmenu-emoticon's People

Contributors

mrdave123 avatar porras avatar deadvey avatar akhilj-git avatar markstos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.