2008/9/10 bill lam <[EMAIL PROTECTED]>:
> I want to exec some console program, so instead of exec directly the
> output from dmenu, I change it to something like,
>   xterm -e "outuot from dmenu"
> I modified config.h and dwm.c as follows. However I noticed that it
> spawn a xterm before dmenu has started. Is there any way to suppress
> xterm before dmenu get finished?  Any comments to improve the code
> are welcome. Or if anyone has already written such patch, I would like
> to copy. :-)

No need to that natively. Have a look into dmenu_run which should give
you an idea how to write dmenu_termrun ;)

Kind regards,
--Anselm

Reply via email to