Re: [dev] Focusing on windows by name

From: Manolo Martínez <manolo_AT_austrohungaro.com>
Date: Wed, 26 Oct 2011 12:12:42 +0200

On 10/26/11 at 05:51pm, Patrick Haller wrote:
> > In openbox I have a key bound to the following:"wmctrl -xa mutt ||
> > urxvt -name mutt -e mutt"
>
> xlsclients | grep -q mutt || urxvt -e mutt
>
Thanks, Patrick, this does half of what I want: it launches mutt only if there
is no previous mutt window. I need now to figure out how to give focus to the existing
mutt window.

Thanks for the pointer.
M
Received on Wed Oct 26 2011 - 12:12:42 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 26 2011 - 12:24:02 CEST