On (04/11/08 11:04), [EMAIL PROTECTED] wrote:
> To: Matthias Kirschner <[EMAIL PROTECTED]>, dwm@suckless.org
> From: [EMAIL PROTECTED]
> Subject: Re: [dwm] How to detect TAG activity?
> Reply-To: dwm mail list <dwm@suckless.org>
> List-Id: dwm mail list <dwm.suckless.org>
> User-Agent: Mutt/1.5.18 (2008-05-17)
> 
> Hello Matthias,
> For a cleaner approach,
> just put that command into a shell script.
> 
> Lets say kopete_events.sh:
> 
> #!/bin/bash
> /usr/bin/wmu 1 `/usr/bin/xwininfo -int -name "Kopete"|egrep "Window\ id:"|cut 
> -d' ' -f4`
> 
> 
> Assuming that you installed "wmu" in /usr/bin
> 
> Make kopete_events.sh executable.
> 
> Then, in Kopete, under "Configure Notifications"  you can set "Execute a
> program" when "An incoming message has been received".
> 
> Also make sure you "Enable events for active chat windows" in
> "Settings>Behaviour>Events".
> 
> 
> Veselin
> 
> 

Hi, I've added you script (with markus schnalke's generalization) to the
wmu's repo. thx.

-Ph

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

Reply via email to