84833dc7db
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)
28 lines
688 B
Markdown
28 lines
688 B
Markdown
# Design
|
|
- core: only PSL
|
|
- pass if modules are missing
|
|
- minimize dependencies, code
|
|
- test everything
|
|
- think about pylint
|
|
|
|
# small stuff
|
|
- rethink documentation (wiki vs. in-code)
|
|
- @parameter? (or was it @attribute?)
|
|
- use __ for private?
|
|
|
|
# Features
|
|
|
|
## Backwards-compatibility
|
|
- aliases
|
|
- charts (braille)
|
|
- minimize modules
|
|
- hide modules if not in warning/error state (-a)
|
|
- WAL support / colorscheme support
|
|
- tkinter / popups
|
|
- scrolling decorator (incl. minwidth, alignment)
|
|
- states
|
|
|
|
## Improvements
|
|
- pango output (improve - maybe autodetect? see #531)
|
|
- only update specific, affected modules when clicking
|
|
- allow handlers to specify whether to update or not (e.g. scroll)
|