Commit graph

58 commits

Author SHA1 Message Date
Tobias Witek
84833dc7db [core] Add (partial) support for states
Add states to the modules and widgets. Widgets are mostly just a
pass-through (backwards compatibility, and ease of use - making states
directly inside the widgets would require more code inside the modules
to ensure that each widget is correctly updated).

Still missing:
- Separators during partial update (right now, it takes one interval
until separators are drawn correctly)
2020-02-23 21:13:49 +01:00
Tobias Witek
66bdfacf6f [modules/pulseaudio] Show bar charts
Re-enable optional display of barcharts
2020-02-23 13:59:47 +01:00
Tobias Witek
38410adcb8 [core/theme|output] Add separators
Add a way for themes to specify custom separators. Doing that, make
nicer interfaces for drawing "supplementary" components (separators)
for widgets and generalize the attribute retrieval within the theme.
2020-02-22 13:42:44 +01:00
Tobias Witek
6143c5e5a1 [doc] NOTES: Add more notes
Otherwise, I'll forget about them
2020-02-16 14:55:26 +01:00
Tobias Witek
445c5a65f1 [core/output] Move widget/module handling inside output
The core.output module now manages the list of modules and retrieves the
widgets inside draw() itself. That way, details of drawing/updating
widgets are not visible from the outside anymore.
2020-02-02 14:18:13 +01:00
Tobias Witek
b7ca5eb3a5 [doc] Add pylint to not forget about it 2020-01-26 14:20:09 +01:00
Tobias Witek
da792f9b7b [doc] Update notes
Add more stuff that needs to be considered for backwards compatibility
2020-01-26 13:59:11 +01:00
Tobias Witek
fed80fb470 [doc] Add notes for redevelopment 2020-01-25 14:28:38 +01:00