On (03/11/08 16:02), [EMAIL PROTECTED] wrote:
> To: dwm mail list <[email protected]>
> From: [EMAIL PROTECTED]
> Subject: Re: [dwm] How to detect TAG activity?
> Reply-To: dwm mail list <[email protected]>
> List-Id: dwm mail list <dwm.suckless.org>
> User-Agent: Mutt/1.5.18 (2008-05-17)
> 
> Thanks for the tips guys.
> 
> Kopete does not seem to set the URGENT flag but it 
> offers tha ability to launch an app when a new message is received.
> 
> Would it be possible to write a shell script that sends an "URGENT" flag to a 
> specific
> window/tag ?
> 
> Veselin
> 
> On Mon, Nov 03, 2008 at 03:48:25PM +0100, Premysl Hruby wrote:
> > On (03/11/08 14:05), [EMAIL PROTECTED] wrote:
> > > To: [email protected]
> > > From: [EMAIL PROTECTED]
> > > Subject: [dwm] How to detect TAG activity?
> > > Reply-To: dwm mail list <[email protected]>
> > > List-Id: dwm mail list <dwm.suckless.org>
> > > User-Agent: Mutt/1.5.18 (2008-05-17)
> > > 
> > > Hello, 
> > > I'm using dwm-5.2, my question is related to window events that
> > > trigger the change of the TAG color, I have a messenger (pidgin) which
> > > triggers that event whenever a new message is received and another
> > > messenger (kopete) which does not.  
> > > 
> > > Could you please advise me how do applications trigger
> > > the changing of the TAG colour?
> > > 
> > > Does dwm listen for some special event signal or similar?
> > > 
> > > Thank you.
> > > Veselin
> > > 
> > 
> > It is triggered by Urgency hint, which is something like flag "heey, I
> > have something urgent for user", which every window can setup (on it's
> > own). You can also set it up for any window, if you know window ID.
> > 
> > -Ph
> > 
> 

Hi,

I wrote application which can set urgency tag to given window. But you
must know that window id, dunno if you can get it from kopete in some
simple way -- if not, you must write/find program which call XQueryTree
and return window id of searched window.

http://www.redrum.cz/hg/wmu 

-Ph

-- 
Premysl "Anydot" Hruby, http://www.redrum.cz/

Reply via email to