From f0ab3ef03a9f993adb0ff48479b405d9dcfe9832 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Fri, 5 Nov 2021 13:57:05 +0100 Subject: [PATCH] [core/config] fix autohide parameter from configuration file Need to parse the config parameter "autohide" into a list and actually check whether the current module is in the list. see #835 --- bumblebee_status/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee_status/core/config.py b/bumblebee_status/core/config.py index 69a4ac6..f191673 100644 --- a/bumblebee_status/core/config.py +++ b/bumblebee_status/core/config.py @@ -328,7 +328,7 @@ class Config(util.store.Store): """ def autohide(self, name): - return name in self.__args.autohide or self.get("autohide") + return name in self.__args.autohide or name in util.format.aslist(self.get("autohide", [])) """Returns which modules should be hidden if they are in state error