From 4187bddad6bc34cb2120f7827a5ed4e0dde27400 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Thu, 18 Mar 2021 15:29:06 +0100 Subject: [PATCH] [modules/shell] do not default to "makewide" to avoid unnecessarily wide shell modules, set "makewide" to false, if it is not set at all. fixes #775 --- bumblebee_status/modules/contrib/shell.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bumblebee_status/modules/contrib/shell.py b/bumblebee_status/modules/contrib/shell.py index cb7bc38..9d75a60 100644 --- a/bumblebee_status/modules/contrib/shell.py +++ b/bumblebee_status/modules/contrib/shell.py @@ -47,6 +47,9 @@ class Module(core.module.Module): self.__output = "please wait..." self.__current_thread = threading.Thread() + if self.parameter("scrolling.makewide") is None: + self.set("scrolling.makewide", False) + # LMB and RMB will update output regardless of timer core.input.register(self, button=core.input.LEFT_MOUSE, cmd=self.update) core.input.register(self, button=core.input.RIGHT_MOUSE, cmd=self.update)