Hi,
I have a simpler approach (an oversimplification perhaps)
In config.h I have:
dmenu.sh | dmenu
and dmenu.sh is something like:
#!/bin/sh
cat<<FIN | sort -u
firefox -P julian
centericq
muttng
[more commands here]
FIN
exit 0
It's very fast and only requires a few minutes to think which programs
you usually use and in some cases writing a 3 line shell script to
avoid long commands in dmenu (for example to open centericq in a xterm
or opening a ssh connection, etc.)
You can make it faster sorting command list while editing with vi (:motion!sort)
regards,
--
Julián
On 10/5/06, Rob Manea <[EMAIL PROTECTED]> wrote:
Hi,
I just wrote a quick replacement for the shell construct in Anselm's
config.arg.h which feeds dmenu with a list of all executables found in
$PATH.
The programm simply scans $PATH, extracts all files executable for the
user running the programm and outputs those files to stdout.
Usage:
dmenu-input | dmenu
If you want it sorted:
dmenu-input | sort -u | dmenu
The small source file is attached to this message, just in case anyone
may find it useful.