41dc387d0c
Implement a generic "load keywords and replace during runtime" mechanism, with the first concrete use-case of WAL colors (load them during startup, and during runtime, whenever a matching name is found in the keywords, replace with the actual color)
33 lines
837 B
Markdown
33 lines
837 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?) - remove getter/setters
|
|
- use __ for private?
|
|
|
|
# Features
|
|
- new themeing? (and add a "version" for backwards compat)
|
|
|
|
## 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)
|
|
- theme.exclude??
|
|
- bumblebee-ctrl
|
|
|
|
## Improvements
|
|
- generalize the battery/hbar/vbar concept
|
|
- pango output (improve - maybe autodetect? see #531)
|
|
- allow handlers to specify whether to update or not (e.g. scroll)
|
|
|
|
## TODO
|
|
- theme: load vs. __load vs. load_keywords
|