Add settings entry for color_icons
This allows this item to be overridden in i3pystatus with custom colors and icons.
This commit is contained in:
parent
522d691663
commit
ff31e08b74
@ -28,6 +28,9 @@ class Weather(IntervalModule):
|
|||||||
settings = (
|
settings = (
|
||||||
("location_code", "Location code from www.weather.com"),
|
("location_code", "Location code from www.weather.com"),
|
||||||
("colorize", "Enable color with temperature and UTF-8 icons."),
|
("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)"),
|
("units", "Celsius (metric) or Fahrenheit (imperial)"),
|
||||||
"format",
|
"format",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user