Custom Walker provider for searching Nerd Font glyphs, copying the selected icon, or inserting it directly in the focused app. Built as a custom elephant's menus.
- Walker
- Elephant with
menusprovider wl-copy(fromwl-clipboard) for clipboard copywtypefor the insert action (Ctrl+i)- At least one of
curlorwget(used by the menu to fetchglyphnames.jsonwhen missing)
git clone https://github.com/nino-mau/walker-nerd-icons-menu.git
cd walker-nerd-icons-menu
./install.shThe installer copies nerd-icons.lua to:
~/.config/elephant/menus/nerd-icons.lua
It also runs configure_walker.sh, which updates ~/.config/walker/config.toml to add custom actions for menus:nerd-icons under [providers.actions].
A timestamped backup of your Walker config is created before modification.
Add a prefix in your Walker config (~/.config/walker/config.toml):
[[providers.prefixes]]
prefix = "nf" # Can be anything
provider = "menus:nerd-icons"Restart Walker and Elephant after configuration.
- Launch walker
- Type your prefix (
nf) followed by a query - Search by icon name (example:
cod-arrow) - Press
Enterto copy the glyph - Press
Ctrl+ito insert/type the glyph in the focused window
Tip
You can launch the menu directly with walker --provider menus:nerd-icons
Glyph metadata is loaded from:
- Local Nerd Fonts
glyphnames.jsonpaths (if found) - Cached file in
~/.cache/elephant/nerd-icons/glyphnames.json - Nerd Fonts upstream
glyphnames.jsonURL