Hi, i'm new with awesome i'd like to change wibox widgets with this kind of code :
--
ilw = 1
myWiboxWidgets = {
{cputw,},
{batw, },
{gputw,}
}
function changeWidgets ()
ilw = ( ilw % #myWiboxWidgets ) + 1
mywibox.widgets = myWiboxWidgets[ilw]
end
--
but the third time i change, the wibox is and stay empty.
What am i doing wrong ?
awesome v3.4.11
--
Cordialement
David Cobac
