[core/module] Add config to module
Add access for all modules to the commandline parameters (called "config" in bumblebee-status)
This commit is contained in:
parent
74e74bb78b
commit
3a531c359f
6 changed files with 22 additions and 11 deletions
|
@ -10,7 +10,7 @@ def main():
|
|||
output = core.output.i3()
|
||||
modules = []
|
||||
for module in config.modules():
|
||||
modules.append(core.module.load(module))
|
||||
modules.append(core.module.load(module, config))
|
||||
output.modules(modules)
|
||||
output.draw('start')
|
||||
while True:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue