[core/output] Make error widgets critical

This commit is contained in:
Tobias Witek 2020-02-24 15:07:34 +01:00
parent 0cc744ed15
commit 162398c6b6

View file

@ -64,4 +64,7 @@ class Error(Module):
def full_text(self, widget): def full_text(self, widget):
return '{}: {}'.format(self._module, self._error) return '{}: {}'.format(self._module, self._error)
def state(self, widget):
return ['critical']
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4