Skip to content

Rolv-Apneseth/rofi-nerdy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rofi-nerdy

Nerd font icon selector plugin for rofi

License: AGPL v3 version AUR version

rofi-nerdy - demo image

Dependencies

Commands used vary depending on your chosen display server:

Wayland


X11

Installation

AUR

paru -S rofi-nerdy

just

  1. Clone repo:

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

    cd rofi-nerdy && sudo just install

Manual (not recommended)

git clone https://github.com/Rolv-Apneseth/rofi-nerdy.git
cd rofi-nerdy
cargo build --release --lib
sudo cp target/release/librofi_nerdy.so /usr/lib/rofi/nerdy.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 nerdy -show nerdy

However, I also recommend setting a theme with the -theme flag. To achieve what is shown in the demo image, have a look at my rofi config, specifically the icons.rasi file (follow the import chain for the full theme).

Keybinds

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

Acknowledgement

The creation of this plugin was directly inspired by nerdy.nvim, so thank you to @2KAbhishek.

Of course, thank you also to the creator and maintainers of the nerd fonts themselves.

About

Nerd font icon selector plugin for rofi

Resources

License

Stars

Watchers

Forks