Hi Jorge, >From what I understand, you only want to cycle through "non empty" tags. Easiest way would be, repeating until a non-empty tag is selected.
awful.key({ modkey, }, "Left", function()
repeat awful.tag.viewprev()
until next(awful.tag.selected(mouse.screen):clients())
end ),
awful.key({ modkey, }, "Right", function()
repeat awful.tag.viewnext()
until next(awful.tag.selected(mouse.screen):clients())
end ),
--
Can Altıparmak
--
To unsubscribe, send mail to [email protected].
