7
93
Fork
You've already forked wmenu
22

How to run terminal apps from wmenu? #73

Open
opened 2026年01月07日 12:26:55 +01:00 by mrgreen · 2 comments

I really want to use wmenu for my own sway based system. One feature I would like is a way to run terminal cli apps from it. For example if I wanted htop to open in a terminal [foot]. Am guessing it could mean I need a .desktop file or a small script. Certainly wold be a useful addition to add. Can see Shift+Enter is already being used but we have lots of other binds to chose from.

I really want to use wmenu for my own sway based system. One feature I would like is a way to run terminal cli apps from it. For example if I wanted htop to open in a terminal [foot]. Am guessing it could mean I need a .desktop file or a small script. Certainly wold be a useful addition to add. Can see Shift+Enter is already being used but we have lots of other binds to chose from.

As a filter, wmenu's function should not be what you expect above.
Yes, you should manage your small scripts yourself so that wmenu filters the selection.
If your foot is using the"server-client" implementation, it will also be very lightweight.

As a filter, wmenu's function should not be what you expect above. Yes, you should manage your small scripts yourself so that wmenu filters the selection. If your foot is using the"server-client" implementation, it will also be very lightweight.
Author
Copy link

Have created a very simple patch which I will attach [my coding is not that great!]. Some terminal apps such as htop have .desktop files and of course show up in wmenu. The htop.desktop file has Terminal=true so if present it launches foot terminal.

Okay so will open a can of worms as terminal would need to be a flag option, set in... blah blah.

Again this is more for applications that already have .desktop files and run in a terminal...

Have created a very simple patch which I will attach [my coding is not that great!]. Some terminal apps such as htop have .desktop files and of course show up in wmenu. The htop.desktop file has Terminal=true so if present it launches foot terminal. Okay so will open a can of worms as terminal would need to be a flag option, set in... blah blah. Again this is more for applications that already have .desktop files and run in a terminal...
Sign in to join this conversation.
No Branch/Tag specified
main
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
adnano/wmenu#73
Reference in a new issue
adnano/wmenu
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?