t-wissmann / barpyrus

A python wrapper for lemonbar
Other
33 stars 7 forks source link

Set lemonbar fg / ConkyGenerator #2

Closed The-Compiler closed 7 years ago

The-Compiler commented 7 years ago

Sorry, couldn't be bothered to do two PRs :wink:

t-wissmann commented 7 years ago

Great, thanks! I'll merge this and will make ConkyGenerator a subclass of core.Painter.

t-wissmann commented 7 years ago

After merging this, I have dropped all the lemonbar-formatting options from ConkyGenerator. Instead, ConkyGenerator expects a core.TextPainter as an argument (e.g. lemonbar.textpainter()), and passes all unknown options to this textpainter. This makes ConkyGenerator independent from lemonbar.