That works unless I have multiple Chrome windows, which is why I
thought about absolute positioning.

On Thu, Feb 16, 2012 at 1:54 AM, Anurag Priyam <[email protected]> wrote:
> On Thu, Feb 16, 2012 at 5:20 AM, Derek Thurn <[email protected]> wrote:
>> The motivation behind this is that I want a keyboard shortcut that
>> does something like "always switch to this chrome window, regardless
>> of which client and screen currently has focus". I figure I could just
>> make sure the right chrome window always have absolute position 1 in
>> the client list, and then write a keyboard shortcut that always
>> switches to position one.
>
> Or you can select chrome from the list of clients based on client properties:
>
> -- untested
> local clients   = client.get()
> local property = {class = "Google-chrome"}
> for _, c in ipairs(clients) do
>  if (awful.rule.match(c, property) then return c end
> end
>
> --
> Anurag Priyam

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

Reply via email to