[core/module] Add error widgets if a module throws

Module should have to care less about thrown exceptions.
This commit is contained in:
Tobias Witek 2020-03-01 14:08:16 +01:00
parent cb3482ae27
commit a1aec8fff6
7 changed files with 36 additions and 4 deletions

View file

@ -46,7 +46,7 @@ def main():
config = core.config.Config(sys.argv[1:])
theme = core.theme.Theme(config.theme(), config.iconset())
output = core.output.i3(theme)
output = core.output.i3(theme, config)
modules = []
input_thread = threading.Thread(target=handle_input, args=(output,))