Skip to content

TinyToolSH/tmenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

tmenu

A tiny wrapper for menu utilities with support for:

  • dmenu
  • fzf
  • rofi
  • xmenu

Dependencies

  • dmenu

Optional

  • fzf
  • rofi
  • xmenu

Installation

To install tmenu you can edit the Makefile to match your local setup (tmenu is installed into the /usr/local/bin by default).

Afterwards enter the following command to install tmenu (if necessary as root).

sudo make install

To uninstall tmenu, just run:

sudo make uninstall

Usage

Pipe a list of new line separated items into tmenu to display the list in a menu utility of choice (default: dmenu)

ls . | tmenu

To select a specific menu utility

# for fzf
ls . | tmenu -f

# for dmenu
ls . | tmenu -d

# for rofi
ls . | tmenu -r

# for xmenu
ls . | tmenu -x

Any argument you want to pass to the menu utility can be declared in double quotes

ls . | tmenu -d "-l 8 -p 'Files'"

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published