From 6a3e4761bf7d09e786dd3e0cf43e1f826db47278 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Sat, 6 Nov 2021 08:17:11 +0100 Subject: [PATCH] Revert "[core/output] fix logic error when using "autohide"" This reverts commit 74ecbb6ca8e3202cafc69bfbf332081a5eec85cb. --- bumblebee_status/core/output.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bumblebee_status/core/output.py b/bumblebee_status/core/output.py index 47283eb..cf79f2f 100644 --- a/bumblebee_status/core/output.py +++ b/bumblebee_status/core/output.py @@ -229,11 +229,9 @@ class i3(object): for widget in module.widgets(): if widget.module and self.__config.autohide(widget.module.name): if not any( - state in widget.state() for state in ["warning", "critical"] + state in widget.state() for state in ["warning", "critical", "mayhide"] ): continue - if "mayhide" in widget.state(): - continue if module.hidden(): continue if widget.hidden: