Skip to main content

A simple freedesktop based Applications menu using ncurses

Project description

A ncurses application menu. The missing stone of my i3 setup.

Description

A simple and lightweight alternative to Desktop Environment’s application menu. To be used when you do not remember the name of this new pdf reader you just installed yesterday night…

Dependencies:

  • PyXdg: python’s freedesktop bindings, used in order to generate the menu.

  • Urwid: a framework build on top of ncurses.

Keybindings (case insensitive):

  • j,k,l,m or arrow: Navigate between menu entries.

  • c: Cycle through submenu.

  • e: on an application entry, launch it without exiting.

  • b: on a submenu to go back to the parent menu.

Installation

Pip:

pip install xdgmenu

setuptools:

python setup.py install

Configuration

Since i am using i3, a quick how-to integrate it in nicely. Add to your .i3/config:

set $term <your terminall emulator>

bindsym <keybinding> $term -e 'xgmenu' --title xdgmenu
for window [title="xdgmenu"] floating enable

Roadmap

  • Implement entry description on ‘d’ keypress (a simple text widget displaying the programm help).

  • Implement a search mode.

  • Find how to correctly handle logging with urwid application.

  • Separate the urwid logic from the application one.

  • Package and upload to pypi.

Tests

No test yet but contribution are welcomed ;)

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

xdgmenu-0.0.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

xdgmenu-0.0.0-py3.5.egg (6.9 kB view details)

Uploaded Egg

xdgmenu-0.0.0-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file xdgmenu-0.0.0.tar.gz.

File metadata

  • Download URL: xdgmenu-0.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdgmenu-0.0.0.tar.gz
Algorithm Hash digest
SHA256 196076f01daca80e15f21901c94dd79ae3921e54b2a110ba4cf490cd36647510
MD5 5e37236e7f5faf535b7a34f3fb382cb6
BLAKE2b-256 2b77125c6aae833dd116ce93762f07773b5d759dd6dc15449556e7506fdf19ec

See more details on using hashes here.

File details

Details for the file xdgmenu-0.0.0-py3.5.egg.

File metadata

  • Download URL: xdgmenu-0.0.0-py3.5.egg
  • Upload date:
  • Size: 6.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xdgmenu-0.0.0-py3.5.egg
Algorithm Hash digest
SHA256 c377eac9f5468a37ccc2dbcebdc2547bc4fd368233815d4a0e3c61665b6ffe54
MD5 196f1582bf98dc1e6ebd92596e416626
BLAKE2b-256 d553e1358e3a8da48a129a14406110559ded8e88c63384a907c4ede280ae8cd8

See more details on using hashes here.

File details

Details for the file xdgmenu-0.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for xdgmenu-0.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 66c9abb464102027c964968beee773e20d207ba6a7334173a0c895458d3a36e9
MD5 4d017b1ddee9d5648d698bb45887b644
BLAKE2b-256 9f392885558dfa079c78c3f7615bb9773db80de55c35555f5b973b9f20adca3e

See more details on using hashes here.

Supported by

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