From f81841c722270f11a89fbf312da00f9d8bf6a09b Mon Sep 17 00:00:00 2001 From: David Garcia Quintas Date: Sun, 22 Mar 2015 14:30:29 -0700 Subject: [PATCH] Fixed processing of dynamic_colors settings, previously ignored. --- i3pystatus/network.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i3pystatus/network.py b/i3pystatus/network.py index a70c7b9..ea19208 100644 --- a/i3pystatus/network.py +++ b/i3pystatus/network.py @@ -313,6 +313,8 @@ class Network(IntervalModule, ColorRangeModule): else: self.network_traffic = None + if not self.dynamic_color: + self.end_color = self.start_color self.colors = self.get_hex_color_range(self.start_color, self.end_color, int(self.upper_limit)) self.kbs_arr = [0.0] * self.graph_width