[modules/all] Update constructore to include theme
This commit is contained in:
parent
1f94eab927
commit
f2d411276d
78 changed files with 158 additions and 158 deletions
|
@ -30,8 +30,8 @@ import util.graph
|
|||
import util.format
|
||||
|
||||
class Module(core.module.Module):
|
||||
def __init__(self, config, channel):
|
||||
super().__init__(config, core.widget.Widget(self.volume))
|
||||
def __init__(self, config, theme, channel):
|
||||
super().__init__(config, theme, core.widget.Widget(self.volume))
|
||||
|
||||
if util.format.asbool(self.parameter('autostart', False)):
|
||||
util.cli.execute('pulseaudio --start', ignore_errors=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue