What do I need to check for in the rules function to restrict the client iterator to only the focused tag?
I've tried function(x) return x.tags == {t} end
where t is awful.screen.focused().selected_tag
and it doesn't work.
Asked
Active
Viewed 135 times
0

Arii
- 349
- 2
- 10
-
`x.first_tag` also no go – Arii Dec 28 '19 at 03:41
-
`awful.rules.match({properties = {tags = t}})` also not working. – Arii Dec 28 '19 at 03:44
-
`==` for tables compares identity in Lua, not content. So, it will only be true if you compare a table to itself and not when the two tables have the same content. – Uli Schlachter Dec 29 '19 at 15:54