Skip to main content

Sleek dmenu alternative written in Python and powered by curses.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pmenu_lib-1.1.4.tar.gz (9.7 kB view details)

Uploaded Source

File details

Details for the file pmenu_lib-1.1.4.tar.gz.

File metadata

  • Download URL: pmenu_lib-1.1.4.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pmenu_lib-1.1.4.tar.gz
Algorithm Hash digest
SHA256 4157b82ef1dd6b2454763287411b9e098e1bb49d20f57b1da066a1de26d760e4
MD5 833ccd15feca6907fca3e33fc66e236a
BLAKE2b-256 83485c14275a02564fbcb42b1947221ca849418d8f326ca4f74eed9b46ef6996

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page