is there a way of having dmenu automatically exectue a given command, if there is only one option left?
What I mean is this:
Say I have a set of options:
1. Execute A
2. Execute B
3. Execute C
etc. When I type "1", dmenu automatically filters the options and I only have the option
1. Execute A
left showing. But, I still have to press enter for it to start.
Is there a way, where if will automatically start? Like, for example, the file browser "ranger", when using the find (f) command. When it is down to one option, matching the typed String, it will automatically move you to that sub directory, without having to press enter.
Cheers all.
Asked by I.P
(221 rep)
May 15, 2022, 02:12 PM