[core/module] Add error widgets if a module throws
Module should have to care less about thrown exceptions.
This commit is contained in:
parent
cb3482ae27
commit
a1aec8fff6
7 changed files with 36 additions and 4 deletions
|
@ -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,))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue