From ad4ae456a5a6836d0ed5b564e4056eb76df14141 Mon Sep 17 00:00:00 2001 From: Facetoe Date: Mon, 10 Feb 2020 17:43:13 +0800 Subject: [PATCH] Allow setting dynamic_color in cpu_usage_bar (#767) --- i3pystatus/cpu_usage_bar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/i3pystatus/cpu_usage_bar.py b/i3pystatus/cpu_usage_bar.py index fe0cbf0..be1293e 100644 --- a/i3pystatus/cpu_usage_bar.py +++ b/i3pystatus/cpu_usage_bar.py @@ -29,7 +29,8 @@ class CpuUsageBar(CpuUsage, ColorRangeModule): ("cpu", "cpu to base the colors on. Choices are 'usage_cpu' for all or 'usage_cpu*'." " Replace '*' by core number starting at 0."), ("start_color", "Hex or English name for start of color range, eg '#00FF00' or 'green'"), - ("end_color", "Hex or English name for end of color range, eg '#FF0000' or 'red'") + ("end_color", "Hex or English name for end of color range, eg '#FF0000' or 'red'"), + ("dynamic_color", "Use dynamic color"), ) def init(self):