Skip to content

shdown/cmenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmenu is a multi-column dynamic menu for the terminal. It should work under Linux and all ✳BSD's. It should compile under any version of gcc or clang that supports C99.

It parses column information (column widths and headers) passed in arguments, shows the menu to the user and interacts with the controlling process using two file descriptors (which must be passed via -infd=FD and -outfd=FD). For more information on usage, see “USAGE.md”.

Once the user selects an entry, it reports this to the controlling process and exits.

The protocol of communication with the controlling process is very simple and line-based (see “PROTOCOL.md”); the controlling process can even be a shell script.

The wifi_menu.py is an example that presents an interactive menu for choosing a Wi-Fi network to connect to. It uses the iwd D-Bus API and the iwctl binary from the iwd project.

screenshot

About

Multi-column dynamic menu for the terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors