Mavridis Philippe
67e995b6fc
KWeather: Added fallbacks to "weather-snow"
...
For themes missing the (specified by XDG) weather-snow-scattered
icon.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe
d2b868dfa4
KWeather: improved fallback mechanism.
...
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe
6e43236a75
KWeather: Use brackets block for better readability
...
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe
df744f540c
KWeather: Better icon name string handling.
...
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe
bee2b453da
KWeather: support for weather icons from icon theme.
...
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe
0e7033dd09
KWeather: updated icon handling.
...
The newly added class abstracts away icon names from the main code
and has the ability to fall back to "safer" icon choices so as to
ensure (if possible) icon theme consistency.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago