[core/theme] Add true cycling support

Using the freshly introduced eventing system, enable cycling of widget
attributes.
This commit is contained in:
Tobias Witek 2020-02-16 14:39:10 +01:00
parent a4904d998f
commit 6e5e297d93
3 changed files with 26 additions and 6 deletions

View file

@ -49,6 +49,7 @@ class i3(object):
'background': self._theme.bg(widget),
'separator': self._theme.default_separators(),
})
core.event.trigger('next-widget')
return widgets
def update(self, affected_modules=None):