Skip to content

Rolv-Apneseth/rofi-unicode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rofi-unicode

Unicode selector plugin for rofi

License: AGPL v3 version AUR version

rofi-unicode - demo GIF

Dependencies

Wayland


X11

Installation

AUR

paru -S rofi-unicode

just

  1. Clone repo:

    git clone https://github.com/Rolv-Apneseth/rofi-unicode.git
  2. Use just to install (requires cargo and just)

    cd rofi-unicode && sudo just install

Manual (not recommended)

git clone https://github.com/Rolv-Apneseth/rofi-unicode.git
cd rofi-unicode
cargo build --release --lib
sudo cp target/release/librofi_unicode.so /usr/lib/rofi/unicode.so

If you are using the latest changes from the rofi repo (e.g. rofi-lbonn-wayland-git, rofi-git), then the build step needs to be preceded by RUSTFLAGS="--cfg rofi_next" for it to work

Usage

After installing, simply run the following command:

rofi -modi unicode -show unicode

However, I also recommend setting a theme with the -theme flag. The demo uses the builtin Monokai theme (-theme Monokai), and for my own use I have custom themes here, as seen on the demo image for rofi-nerdy. Experiment with what works for you.

Keybinds

Keybind Default rofi keybind Action
kb-accept-entry Enter Copy unicode character
kb-accept-alt Shift+Enter Attempt to insert unicode character
  • To change a rofi keybind, you can, for example, use -kb-accept-entry Ctrl+c

Other Rofi plugins

  • rofimoji: I wish I had found this one before bothering to work on this ... probably better all around, and allows choosing specific groups, and even nerd font icons
  • rofi-emoji: much better than this plugin for emojis specifically
  • rofi-calc: calculator with natural language parsing - pretty cool

And of course, shameless plug of my own ones:

  • rofi-games: launch games installed from various sources on your system
  • rofi-nerdy: like this plugin but for nerd font icons

Acknowledgement

About

Unicode selector plugin for rofi

Topics

Resources

License

Stars

Watchers

Forks