Isn't all this the purpose of the 'lsx' tool? http://tools.suckless.org/lsx
Admittedly it doesn't handle caching, but a hybrid between shell and the lsx tool might result in faster cache regeneration. Regards, Al Gest On 19 May 2010 09:04, Elmo Todurov <todu...@gmail.com> wrote: > Hi there. > > I rewrote dmenu_path in C. It's an order of magnitude faster than the shell > script on cache misses and around 2 times faster on cache hits. > > I'm attaching the code to this mail. I'd be glad to see it included in > dmenu. > > Elmo Todurov >