Nevermind, I figured it out:

in the 'manage' callback:

    c:add_signal("property::urgent", function(c)
        client.focus = c
        c:raise()
    end)


On Sat, May 22, 2010 at 9:44 AM, James Campos <[email protected]> wrote:
> Hi, the subject says it - how do I auto-focus urgent clients? I've set
> a couple terminal programs to beep on key events, and I've set urxvt
> to be urgent on beep, now I need to set Awesome to focus on urgent.
> Urxvt has a setting, mapAlert, which, on receipt of a bell character,
> de-iconifies and focuses clients, but only if the client started out
> minimized.
>
> I randomly tried this, didn't work:
>    client.add_signal("urgent", function (c) client.focus = c end)
>

--
To unsubscribe, send mail to [email protected].

Reply via email to