diff --git a/i3pystatus/core/modules.py b/i3pystatus/core/modules.py index 4356e3a..fc1e569 100644 --- a/i3pystatus/core/modules.py +++ b/i3pystatus/core/modules.py @@ -27,9 +27,9 @@ class Module(SettingsBase): self.on_leftclick() elif button == 3: # Right mouse button self.on_rightclick() - elif button == 4: # mouse wheel up + elif button == 4: # mouse wheel up self.on_upscroll() - elif button == 5: # mouse wheel down + elif button == 5: # mouse wheel down self.on_downscroll() def move(self, position): @@ -48,6 +48,7 @@ class Module(SettingsBase): def on_downscroll(self): pass + class IntervalModuleMeta(type): """Add interval setting to `settings` attribute if it does not exist."""