A dmenu-inspired dynamic terminal-based application menu.
A demonstration of the ncurses-based full screen tui
To build and install tmenu
to $HOME/.local/bin
, simply run:
apt-get install libncurses-dev && \
zig build -Drelease-fast=true -p $HOME/.local install
To create a keymap to tmenu
in zsh
, add something along the lines of the following to your .zshrc
:
bindkey -s '^u' 'tmenu^M'
By default, tmenu
will use a 'light' tui menu implementation that does not clear the entire screen.
Should you prefer to use the ncurses
-based full screen tui implementation, pass the -f
or --fullscreen
flag to tmenu
on invocation.
- Possible features:
- Fuzzy filtering.
- vi bindings.
- Other KB shortcuts (e.g. open man page etc.).