~scoopta/wofi#217: 
It is possible to create a menu with submenu

Sorry, maybe a stupid question.

I am a new wofi user and a beginner too.

I'm trying to create a menu with submenus. E.g.

Menu    Submenu

Editor     Vim

                Geany

Network Firefox

                 Filezilla

Is it even possible ?

I searched the net but with "zero" results.

If possible can someone provide me some files as an example.

Thank you.

Sajcho

Status
REPORTED
Submitter
~sajcho
Assigned to
No-one
Submitted
9 months ago
Updated
9 months ago
Labels
No labels applied.

~scoopta 9 months ago

So this isn't a built in feature, it's likely that this could be done using multi-action entries from a custom mode implementation, in fact I don't really see a reason why not since they basically create a sub menu. Aside from writing your own custom mode this is a feature that could probably be added to drun based on the category information found in desktop files which actually isn't a bad idea. If you are looking to use this from dmenu I'm not sure how to go about creating this for dmenu though, it seems too complicated to do outside of the API.

~sajcho 9 months ago

Thank you for answer.

I am using wofi in drun mode.

If I understood correctly, I should go via to "$HOME/.local/share/applications/*.desktop" and look for the solution here.

Sample code would be nice.

Register here or Log in to comment, or comment via email.