Hi Gerald,
It works for me, but I have 1 screen. If you have multiple screens,
you should call "client.get(screen)" I think.
> For the most part is works, but when I only have one client in the screen it
> is still highlighted, even though it works correctly otherwise.
However, by "one client in the screen", if you mean 1 client on the
"active tag(s)" in the screen, then you should calculate clientcount
as:
local clientcount=0
for _,t in ipairs(awful.tag.selectedlist()) do
clientcount = clientcount + #t:clients()
end
--
Can Altıparmak
--
To unsubscribe, send mail to [email protected].