Skip to content

Julynx/pmenu_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

pmenu

Sleek dmenu alternative written in Python and powered by curses.



Comes in different flavors:

You are now looking at the pmenu_lib Python package.


Usage

The pmenu(list_of_options) function will display a menu and return the selected option as a str, or None if the menu is closed without selecting an option.

from pmenu_lib import pmenu

selected_option = pmenu(list_of_options)

Menu bindings

  • Up arrow: Highlight the previous menu entry.
  • Down arrow: Highlight the next menu entry.
  • Enter: Select the highlighted entry.
  • Esc: Close the menu.

About

Sleek dmenu alternative written in Python and powered by curses.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Languages