summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/Monitors/Weather.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-08-26 21:41:54 +0100
committerjao <jao@gnu.org>2024-08-26 21:41:54 +0100
commit4e8ec5a4c86873018f3ba33669fb9affff280d6e (patch)
treec200d8e99f86f05ea771285f034c31254124db2c /src/Xmobar/Plugins/Monitors/Weather.hs
parent3500eb6c7ba57fd2ce32f89fdde6edd6918679f9 (diff)
downloadxmobar-4e8ec5a4c86873018f3ba33669fb9affff280d6e.tar.gz
xmobar-4e8ec5a4c86873018f3ba33669fb9affff280d6e.tar.bz2
fallback to weather in weatherSHEADmaster
Diffstat (limited to 'src/Xmobar/Plugins/Monitors/Weather.hs')
-rw-r--r--src/Xmobar/Plugins/Monitors/Weather.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xmobar/Plugins/Monitors/Weather.hs b/src/Xmobar/Plugins/Monitors/Weather.hs
index 550779b..6b5c353 100644
--- a/src/Xmobar/Plugins/Monitors/Weather.hs
+++ b/src/Xmobar/Plugins/Monitors/Weather.hs
@@ -231,8 +231,8 @@ formatWeather opts sks [WI st ss y m d h wind v sk we tC tF dC dF r p] =
do let WindInfo wc wa wm wk wkh wms = wind
cel <- showWithColors show tC
far <- showWithColors show tF
- let sk' = findSk sks (map toLower sk) ""
- we' = showWeather (weatherString opts) we
+ let we' = showWeather (weatherString opts) we
+ sk' = findSk sks (map toLower sk) we'
we'' = findSk sks (map toLower we') sk'
parseTemplate [st, ss, y, m, d, h, wc, wa, wm, wk, wkh
, wms, v, sk, sk', we', we'', cel, far