[core/output] Add id of widget and module to output
In the process of that, fix a bug in how the parent class constructors were invoked.
This commit is contained in:
parent
4d34fa9261
commit
fca364554e
4 changed files with 8 additions and 6 deletions
|
@ -38,7 +38,9 @@ class i3(object):
|
|||
for module in self._modules:
|
||||
for widget in module.widgets():
|
||||
status.append({
|
||||
'full_text': widget.full_text()
|
||||
'full_text': widget.full_text(),
|
||||
'instance': widget.id(),
|
||||
'name': module.id(),
|
||||
})
|
||||
return {
|
||||
'data': status,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue