Hi,
> I have just begun to use skype as my primary messaging system. However it
> uses a lot of messaging windows, is there a way to condense the clients into
> one big "virtual" client? So I can select which one with a keybinding or a
> UI element?
As Thorsten put it, you can identify windows by their properties,
particularly class, and instance. All the skype windows will have the
same "class". So, you can build a list of all the windows with the
same class and then display a menu to select the particular skype
window.
Before I switched to 'tmux' I would have ~15 terminals open. To switch
between them, I had the following function binded to Mod4 + z:
function terminals_menu ()
terms = {}
for i, c in pairs(client.get()) do
if awful.rules.match(c, {class = "URxvt"}) then
terms[i] = { c.name or "",
function()
awful.tag.viewonly(c:tags()[1])
client.focus = c
end
}
end
end
m = awful.menu({items = terms})
m:toggle({keygrabber=true})
end
Wiki [1], and the API docs[2] should help understand the code better.
[1] https://awesome.naquadah.org/wiki/Awful.menu
[2] http://awesome.naquadah.org/doc/api
--
Anurag Priyam
http://about.me/yeban/
--
To unsubscribe, send mail to [email protected].