From ff31e08b74b3915c051dd850d486feaa2dac0b8c Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Sat, 12 Mar 2016 22:34:34 -0600 Subject: [PATCH] Add settings entry for color_icons This allows this item to be overridden in i3pystatus with custom colors and icons. --- i3pystatus/weather.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/i3pystatus/weather.py b/i3pystatus/weather.py index ed6d6e9..a71242d 100644 --- a/i3pystatus/weather.py +++ b/i3pystatus/weather.py @@ -28,6 +28,9 @@ class Weather(IntervalModule): settings = ( ("location_code", "Location code from www.weather.com"), ("colorize", "Enable color with temperature and UTF-8 icons."), + ("color_icons", "Dictionary mapping weather conditions to tuples " + "containing a UTF-8 code for the icon, and the color " + "to be used."), ("units", "Celsius (metric) or Fahrenheit (imperial)"), "format", )