[modules/all] Update constructore to include theme

This commit is contained in:
tobi-wan-kenobi 2020-04-26 16:39:24 +02:00
parent 1f94eab927
commit f2d411276d
78 changed files with 158 additions and 158 deletions

View file

@ -14,8 +14,8 @@ import core.module
import core.input
class Module(core.module.Module):
def __init__(self, config):
super().__init__(config, core.widget.Widget(self.load))
def __init__(self, config, theme):
super().__init__(config, theme, core.widget.Widget(self.load))
self._load = [0, 0, 0]
try:
self._cpus = multiprocessing.cpu_count()