[theme] Re-implement colorscheme cycling

Again, allow the "default" section to contain cycles that are used one
after the other for each widget.
This commit is contained in:
Tobias Witek 2016-11-05 11:40:27 +01:00
parent bab7821607
commit 98acd15edf
3 changed files with 37 additions and 119 deletions

View file

@ -46,9 +46,9 @@ class Output(bumblebee.output.Output):
for widget in widgets:
if theme.separator(widget):
self._data.append({
u"full_text": theme.separator(obj),
"color": theme.separator_color(obj),
"background": theme.separator_background(),
u"full_text": theme.separator(widget),
"color": theme.separator_color(widget),
"background": theme.separator_background(widget),
"separator": False,
"separator_block_width": 0,
})