Change default weather icon for thunderstorm
I had added this to be able to use a different icon for thunderstorms, which were at the time not even being detected as a weather condition and were just falling back to the default (i.e. no colorization nor icon). However, the only thunder/lightning unicode icon that is widely available is too tall, leading to the entire module's text being vertically-aligned on a different plane from the rest of the modules in the status bar. This commit changes the default icon to the same one used for "Rainy" conditions, while preserving it as a distinct weather type so that others can still use their own icon if they so choose.
This commit is contained in:
parent
b4e21dfd9e
commit
1cc93937e5
@ -88,7 +88,7 @@ class Weather(IntervalModule):
|
|||||||
'Cloudy': (u'\u2601', '#f8f8ff'),
|
'Cloudy': (u'\u2601', '#f8f8ff'),
|
||||||
'Partly Cloudy': (u'\u2601', '#f8f8ff'), # \u26c5 is not in many fonts
|
'Partly Cloudy': (u'\u2601', '#f8f8ff'), # \u26c5 is not in many fonts
|
||||||
'Rainy': (u'\u26c8', '#cbd2c0'),
|
'Rainy': (u'\u26c8', '#cbd2c0'),
|
||||||
'Thunderstorm': (u'\u03de', '#cbd2c0'),
|
'Thunderstorm': (u'\u26c8', '#cbd2c0'),
|
||||||
'Sunny': (u'\u2600', '#ffff00'),
|
'Sunny': (u'\u2600', '#ffff00'),
|
||||||
'Snow': (u'\u2603', '#ffffff'),
|
'Snow': (u'\u2603', '#ffffff'),
|
||||||
'default': ('', None),
|
'default': ('', None),
|
||||||
|
Loading…
Reference in New Issue
Block a user