phillbush / ctrlmenu

unified menu system for X11 (sxhkd + xmenu + dmenu)
MIT License
9 stars 1 forks source link

ctrlmenu should run program provided by default, or run the first result if un-matched #8

Open apprehensions opened 1 year ago

apprehensions commented 1 year ago

similar to dmenu_run, when no results are matched, run the program in the arguments; not with xdg_open. and for example if i search up a manual page for a program and the first result is the manual page, launch it without having to press tab.

apprehensions commented 1 year ago

i mean, what the fuck is the point of having xdg_open????? i don't see any actual use case for it. what, opening a fucking file with its mimetype? what???

xdg_open ctrlmenu
ctrlmenu: execlp: No such file or directory