From f855d5c2354c894d132d8e58857407de0903d26c Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Mon, 17 Jul 2023 12:58:48 +0200 Subject: [PATCH] [modules/aur-update] hide if no packages fixes #978 --- bumblebee_status/modules/contrib/aur-update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee_status/modules/contrib/aur-update.py b/bumblebee_status/modules/contrib/aur-update.py index f1b85ea..9afdc89 100644 --- a/bumblebee_status/modules/contrib/aur-update.py +++ b/bumblebee_status/modules/contrib/aur-update.py @@ -31,7 +31,7 @@ class Module(core.module.Module): return self.__format.format(self.__packages) def hidden(self): - return self.__packages == 0 and not self.__error + return self.__packages == 0 def update(self): self.__error = False