Basically xmenu but for wayland. Reads menu structure from stdin and prints clicked item to stdout.
install libwayland-client, pango, and cairo
make
sudo make install
Configuration is done by editing config.h and recompiling.
Each line in the input defines a menu item, with tab indentation indicating submenu levels. Same format as xmenu but with comments.
- Basic Item:
Label- Displays "Label". Clicking it outputs "Label" to stdout.
- Item with Custom Output:
Label OutputCommand- Displays "Label". Clicking it outputs "OutputCommand" to stdout.
- Tab delimiter between label and output
- Submenus:
- Leading tabs define the submenu hierarchy.
Parent Item
Sub Item 1
Sub Item 2 SubCommand
- Icons:
IMG:path/to/icon.png Label OutputCommandIMG:prefix followed by the icon file path, then a tab, then the label and optional output.- Image must be png format
- Separators: An empty line creates a visual separator. Separators are not supported within submenus.
- Comments: Lines starting with
#are ignored.