From 37516662d1e09e92da62a56aae8c8f71622bd14d Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Fri, 2 Mar 2018 01:41:12 +0100 Subject: [PATCH] config: barpyrus: config.py: add cpu and memory load factor to conky --- config/barpyrus/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/barpyrus/config.py b/config/barpyrus/config.py index dbe8bad..48aa9f9 100644 --- a/config/barpyrus/config.py +++ b/config/barpyrus/config.py @@ -53,7 +53,9 @@ def conky_icon(icon_code, icon_color, text_color = 'lightgrey'): return text # conky specific configuration -conky_text = '' +# cpu and memory load factor +conky_text = conky_icon('\ue026', 'green') + '${cpu}% ' +conky_text += conky_icon('\ue021', 'green') + '${memperc}% ' # options for hlwm.HLWMLayoutSwitcher widget xkblayouts = [