Adding a battery widget.

This commit is contained in:
Rodolphe Breard 2015-08-16 17:50:44 +02:00
parent 798acc059a
commit f51563c065

View file

@ -124,6 +124,11 @@ class ConfigWrapper:
widget.Prompt(), widget.Prompt(),
widget.WindowName(), widget.WindowName(),
widget.Systray(), widget.Systray(),
widget.Battery(
charge_char='',
discharge_char='',
update_delay=5
),
widget.MemoryGraph(**self.graph_params('#CFCE44')), widget.MemoryGraph(**self.graph_params('#CFCE44')),
widget.CPUGraph(**self.graph_params('#96AECF')), widget.CPUGraph(**self.graph_params('#96AECF')),
widget.Clock(format=self.date_format), widget.Clock(format=self.date_format),