On Fri, Feb 17, 2012 at 1:30 AM, Derek Thurn <[email protected]> wrote:
> That works unless I have multiple Chrome windows, which is why I
> thought about absolute positioning.
function next_client(property)
local clients = client.get()
local start = awful.util.table.hasitem(clients, client.focus)
local i = start
repeat
i = awful.util.cycle(#clients, i + 1)
if (awful.rule.match(clients[i], property) then return clients[i] end
until i == start -- full cycle
end
Untested.
--
Anurag Priyam
--
To unsubscribe, send mail to [email protected].