.plan


@400000004a5e1b3e37cfc204
Project: dwm update
Plan:

dwm 5.6 has just been released, with multihead support.
Yay! It now does everything I want. My local repo is at
http://redundancy.redundancy.org/dwm.tar.gz. Aside from a smattering
of config changes and third party patches, the main addition is a simple
``focusurgent'' patch, which warps you to the next window with the EXWMH
``URGENT'' hint set. I use this with pidgin, which can set the hint on
new messages, and also with urxvt, which can set the urgent hint on
terminal bell. Since dwm highlights tags with urgent hints set, this
acts as both new IM notification and new mail notification (as mutt uses
a terminal bell when new mail arrives). If people want to use this in
their own dwm configs:

void 
focusurgent(Arg *x) 
	Client *c;
	for(c = selmon->stack; c && !(c->isurgent); c = c->snext);
	if(c)  
		Arg a;
		a.ui=c->tags;
		view(&a);
		focus(c);
	


Comment Link