lemonbar: Cleaning up

Add connection to i3ws object. Log exceptions with debugger
This commit is contained in:
2019-12-03 21:11:04 +01:00
committed by kuben
parent 1367be34be
commit c6f48faff0
6 changed files with 32 additions and 44 deletions

View File

@@ -154,8 +154,9 @@ def exec_commands():
try:
modules.do_action(data)
except:
except Exception as e:
common.logger.debug('Exception occured executing command\n Line in: {}'.format(data))
common.logger.debug(str(e))
if len(data) == 0:
common.logger.debug("Lemonbar output closed")
break