Experimenting some more, I've found a solution, almost by accident. The
table of widgets I want to have returned has to have the exact same
layout as the global wibox.widgets-table (and with this an adapted order
of the widgets in the table, of course).
So calling getWidgets() from down below "just as one widget" via
mspec.getWidgets() does its job. I just haven't understood why, at least
not completely, but that's another topic.
function getWidgets()
return { volwidget(),
netwidget(),
memtxtw(),
cputxtw(),
layout = awful.widget.layout.horizontal.rightleft
}
end
The wibox.widgets also has "layout =
awful.widget.layout.horizontal.rightleft". Its code is:
mywibox[s].widgets = {
{
mylauncher,
mytaglist[s],
mypromptbox[s],
layout = awful.widget.layout.horizontal.leftright
},
mylayoutbox[s],
mytextclock,
mspec.getWidgets(),
s == 1 and mysystray or nil,
mytasklist[s],
layout = awful.widget.layout.horizontal.rightleft
}
This combination works as expected, just if someone wants to know.
Cheers
Manuel
--
To unsubscribe, send mail to [email protected].