From f51563c065aa1d2d18e36934c086a78cee2e3af6 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sun, 16 Aug 2015 17:50:44 +0200 Subject: [PATCH] Adding a battery widget. --- .config/qtile/config.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 9bf9f04..3653067 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -124,6 +124,11 @@ class ConfigWrapper: widget.Prompt(), widget.WindowName(), widget.Systray(), + widget.Battery( + charge_char='↥', + discharge_char='↧', + update_delay=5 + ), widget.MemoryGraph(**self.graph_params('#CFCE44')), widget.CPUGraph(**self.graph_params('#96AECF')), widget.Clock(format=self.date_format),