From cd3354e146cc1794770b749b3b3bfe48564a7323 Mon Sep 17 00:00:00 2001 From: Andrei Lando Date: Tue, 12 Sep 2023 17:15:27 +0400 Subject: [PATCH] Adding explicit update to click_command so it doesn't have to wait for regular update. --- bumblebee_status/modules/contrib/shell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bumblebee_status/modules/contrib/shell.py b/bumblebee_status/modules/contrib/shell.py index 1702464..6e52412 100644 --- a/bumblebee_status/modules/contrib/shell.py +++ b/bumblebee_status/modules/contrib/shell.py @@ -87,6 +87,7 @@ class Module(core.module.Module): def click_command(self, event, command=None): util.cli.execute(command, shell=True, ignore_errors=True, wait=True) + core.event.trigger("update", [self.id], redraw_only=True) @core.decorators.scrollable def get_output(self, _):