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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for xdgmenu-0.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66c9abb464102027c964968beee773e20d207ba6a7334173a0c895458d3a36e9 |
|
MD5 | 4d017b1ddee9d5648d698bb45887b644 |
|
BLAKE2b-256 | 9f392885558dfa079c78c3f7615bb9773db80de55c35555f5b973b9f20adca3e |