From 611bed2007373012be8aae2f6d38d43df7cbe856 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Wed, 29 Apr 2020 14:39:12 +0200 Subject: [PATCH] [core/output] Always hide modules that use "hidden()" --- core/output.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/output.py b/core/output.py index c0df8e5..a85880a 100644 --- a/core/output.py +++ b/core/output.py @@ -165,8 +165,8 @@ class i3(object): if widget.module() and self.__config.autohide(widget.module().name()): if not any(state in widget.state() for state in [ 'warning', 'critical']): continue - if module.hidden(): - continue + if module.hidden(): + continue blocks.extend(self.__separator_block(module, widget)) blocks.append(self.__content_block(module, widget)) core.event.trigger('next-widget')