On Mon, Mar 08, 2010 at 08:05:04AM -0600, Marco Peereboom wrote:
> Just use program[menu] just like M-P does.

So a while back I realized that I can't use program[menu] because I would want
to run (assuming we want dmenu), "dmenu" and not "dmenu_run". Also I need to do
special magic with pipes etc. It's a special cases to it is treated as such.

This diff:
  * Makes all of this work with 'S' malloc.conf (a small memory mistake was in
    there).
  * Adds a config option "alt_wm_menu_program" to specify which menu you want to
    use for this. If you don't specify one atall, the whole feature is disabled.
  * Update manual to reflect changes.

An example usage:
        alt_wms = fvwm,cwm,openbox
        alt_wm_menu_program = dmenu

Works well here, but the dmenu does not follow colour scheme. If this is
required we should put the $blah_color replacement code in its own
function and re-use that in exec_alt_wm(). May I reccommend we get this
code in first before I look at that?

Tested i386.

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to