Re: [dwm] How to detect TAG activity?

From: Premysl Hruby <dfenze_AT_gmail.com>
Date: Tue, 4 Nov 2008 17:11:55 +0100

On (04/11/08 11:04), veselin_AT_campbell-lange.net wrote:
> To: Matthias Kirschner <mk_AT_fsfe.org>, dwm_AT_suckless.org
> From: veselin_AT_campbell-lange.net
> Subject: Re: [dwm] How to detect TAG activity?
> Reply-To: dwm mail list <dwm_AT_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/
Received on Tue Nov 04 2008 - 16:11:55 UTC

This archive was generated by hypermail 2.2.0 : Tue Nov 04 2008 - 16:24:04 UTC