[dwm] xterm -e [dmenu]

2008-09-10 Thread bill lam
Hi All, 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

Re: [dwm] xterm -e [dmenu]

2008-09-10 Thread Anselm R Garbe
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.

Re: [dwm] xterm -e [dmenu]

2008-09-10 Thread bill lam
On Wed, 10 Sep 2008, Anselm R Garbe wrote: No need to that natively. Have a look into dmenu_run which should give you an idea how to write dmenu_termrun ;) Thank you very much for advice! Yes, that should be *the* way to do it. -- regards,