You are not logged in.
I set an application to multiple tags (2 and 3):
{ rule = { name = "xvkbd" },
properties = {floating = true},
callback = function(c) c:tags({tags[1][2], tags[1][3]}) end },It's working but I also want to enable titlebar for this particular application. So I add another rule:
{ rule = { name = "xvkbd" },
properties = {floating = true},
callback = awful.titlebar.add,
callback = function(c) c:tags({tags[1][2], tags[1][3]}) end },Now titlebar is shown, but the multiple tags part doesn't work anymore.
What am I doing wrong?
Last edited by junex (2013-11-18 01:11:50)
Offline
Ok, I don't know if that's a proper way, but it works when callbacks are in separate rules:
{ rule = { name = "xvkbd" },
callback = function(c) c:tags({tags[1][2], tags[1][3]}) end },
{ rule = { name = "xvkbd" },
callback = awful.titlebar.add },Offline