[modules] Add CPU module
Also, change minwidth from theme.minwidth to widget property
This commit is contained in:
parent
51faef9fd4
commit
d2e8057141
6 changed files with 48 additions and 3 deletions
|
@ -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': widget.get('theme.minwidth'),
|
||||
'min_width': self.__decorate(module, widget, widget.minwidth),
|
||||
})
|
||||
return [attr]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue