[core/theme] Better separator handling
Add a generic method to the theme to get the "previous" value of an attribute.
This commit is contained in:
parent
66bdfacf6f
commit
a2446a36af
3 changed files with 16 additions and 11 deletions
|
@ -44,7 +44,7 @@ class i3(object):
|
|||
return [{
|
||||
'full_text': self._theme.separator(),
|
||||
'color': self._theme.bg(widget),
|
||||
'background': self._theme.prev_bg(widget),
|
||||
'background': self._theme.bg('previous'),
|
||||
'separator': False,
|
||||
'separator_block_width': self._theme.separator_block_width(),
|
||||
'border_top': self._theme.border_top(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue