[core] replace widget.minwidth with widget.set('theme.minwidth')

This commit is contained in:
Tobias Witek 2020-03-07 13:21:19 +01:00
parent b841ba3c93
commit 47e8d5b82b
4 changed files with 3 additions and 5 deletions

View file

@ -86,7 +86,7 @@ class i3(object):
'full_text': self.__decorate(module, widget, text),
'color': self._theme.fg(widget),
'background': self._theme.bg(widget),
'min_width': self.__decorate(module, widget, widget.minwidth),
'min_width': self.__decorate(module, widget, widget.get('theme.minwidth')),
})
return [attr]