From 162398c6b643ad526cdf30d7b915f8bf1b51a757 Mon Sep 17 00:00:00 2001 From: Tobias Witek Date: Mon, 24 Feb 2020 15:07:34 +0100 Subject: [PATCH] [core/output] Make error widgets critical --- core/module.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/module.py b/core/module.py index 46fd964..0017b0e 100644 --- a/core/module.py +++ b/core/module.py @@ -64,4 +64,7 @@ class Error(Module): def full_text(self, widget): return '{}: {}'.format(self._module, self._error) + def state(self, widget): + return ['critical'] + # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4