[dev] [dmenu] bug:

2011-12-08 Thread Kaibin Li
Hi there, In current hg tip, after launching a program from dmenu, the process of dmenu_run will not exit until the program launched by it exits. e.g: run 'firefox' via dmenu > pstree |-login---bash---xinit-+-Xorg | `-dwm-+-dmenu_run---sh---firefox---18*[{firefox}

Re: [dev] DWM equivalent of wihack?

2011-12-08 Thread Suraj N. Kurapati
On Wed 07 Dec 2011 09:58:17 PM PST, Carlos Torres wrote: > On Wed, Dec 7, 2011 at 9:46 PM, Suraj N. Kurapati wrote: > > I want to launch a terminal with EWMH window type "dialog" so > > that it opens in the floating layer > > you can set the -name of the terminal; that will set the WM_CLASS > to ,

Re: [dev] [dmenu] history patch updated r471

2011-12-08 Thread Peter John Hartman
> function had to be run twice, so I did a quick & dirty #define, knowing > that the C experts in the Suckless Community can suggest better ways. The better way is this: sel=`tac history.txt | dmenu` [ -n "$sel" ] && sed -i "\|$sel|d" history.txt; echo "$sel" >> history.txt Or something of the s

[dev] Re: [dmenu] history patch updated r471

2011-12-08 Thread Suraj N. Kurapati
On Wed 07 Dec 2011 11:18:30 PM PST, Suraj N. Kurapati wrote: > I have updated (attached) the dmenu history patch[1] to apply against > the current tip revision 471:60d97462ff9d. There was a bug in my adaptation: only 1 item was written to histfile. I'm attaching a new patch that fixes this bug a