You are not logged in.

#1 2013-11-17 22:29:47

junex
Member
Registered: 2013-02-21
Posts: 13

[SOLVED] Awesome WM - show client on multiple tags

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

#2 2013-11-18 01:10:20

junex
Member
Registered: 2013-02-21
Posts: 13

Re: [SOLVED] Awesome WM - show client on multiple tags

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

Board footer

Powered by FluxBB