Merge branch 'master' into partial-update-on-input
To make sure that all conflicts are resolved and because the autohide feature is so nice.
This commit is contained in:
commit
d9df96adcb
3 changed files with 11 additions and 0 deletions
|
@ -152,6 +152,9 @@ class I3BarOutput(object):
|
|||
"""Draw a single widget"""
|
||||
if widget.get_module() and widget.get_module().hidden():
|
||||
return
|
||||
if widget.get_module() and widget.get_module().name in self._config.autohide():
|
||||
if not any(state in widget.state() for state in ["warning", "critical"]):
|
||||
return
|
||||
|
||||
separator = self._theme.separator(widget)
|
||||
if separator:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue