deforde / tmenu

A dmenu-inspired dynamic terminal-based application menu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tmenu

A dmenu-inspired dynamic terminal-based application menu.

build tests

A demonstration of the ncurses-based full screen tui

demo

Usage

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.

TODO

  • Possible features:
    • Fuzzy filtering.
    • vi bindings.
    • Other KB shortcuts (e.g. open man page etc.).

About

A dmenu-inspired dynamic terminal-based application menu

License:MIT License


Languages

Language:Zig 100.0%