Re: [dwm] xterm -e [dmenu]

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Wed, 10 Sep 2008 16:12:10 +0100

2008/9/10 bill lam <cbill.lam_AT_gmail.com>:
> 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
Received on Wed Sep 10 2008 - 15:12:10 UTC

This archive was generated by hypermail 2.2.0 : Wed Sep 10 2008 - 15:24:04 UTC