So if I wanted to sudo tail /var/log/kernel.log not only will it find sudo and tail but it would also locate /var/log/kernel.log using command tab completion.
I figure there'd need to be a special keypress required between 'sudo' and 'tail' to indicate that I'm still looking for executables and a different special keypress between 'tail' and '/var/log/ker...' to indicate that I'm now switching over to command tab completion for the command argument.
Or is all of this already there and I just don't know how to user either dmenu or dmenu-launch?
And in a totally "Aim for the treetops - land on the ground. Aim for the stars - land of the treetops." manouver, how about another special keypress to indicate '--lines=N' is a command option if I wanted to sudo tail --lines=N /var/log/kernel.log instead?
]]>One question, though: Upon first launch, we are presented with a menu about history, terminal, etc. By default, I don't want apps launched from the terminal, but what if I do sometimes? The old dmenu-launch had the [Terminal] option every time we launched it.
I had moved all the options to the end of menu. I can now see how this might be a bit annoying, so I made another revision to the AUR package and have moved this and the "Detach" option back to the front. Also, I have fixed the first-launch bug: it should have generated a full menu, but I suppose it would have helped to have actually fed the rest of the items to it.
]]>DMENU='dmenu -i -l 20 -nb #333333 -nf #a8a3f7'
Something like
if test -e $HOME/.dmenurc
then
source $HOME/.dmenurc
else
DMENU=dmenu
fi
should do it.
edit: Nevermind, you seem to do this with DMENU_OPTIONS.
Anyway, .5.6 is great! I love dmenu-launch!
One question, though: Upon first launch, we are presented with a menu about history, terminal, etc. By default, I don't want apps launched from the terminal, but what if I do sometimes? The old dmenu-launch had the [Terminal] option every time we launched it.
]]>- Better caching: XDG and binary lists are generated for the next dmenu-launch in the background.
- If dmenu-launch is ran from a terminal/console and you have Rafunchi's [slmenu] installed, you will be able to launch applications in a dmenu-esque manner. By default, it will not launch applications detached in this mode (can be toggled with the "Detatch" option) so that you will be able to launch console programs.
What's up with this config file dmenu-launch asks for?
"/home/anoknusa/.config/dmenu-launch/config: No such file or directory"
It will be created if one of the options ("Run in Terminal," etc.) are changed.
The message can be ignored, but I have now fixed it in the AUR package.
"/home/anoknusa/.config/dmenu-launch/config: No such file or directory"
]]>To those that have already been using it, the 0.4.1 > 0.5.3 update fixes a few bugs and adds launch history, uses lsx instead of the deprecated (and removed) dmenu_run, and XDG shortcuts are parsed and cached in one fell swoop to speed things up.
]]>