diff options
author | jao <jao@gnu.org> | 2024-08-26 21:41:54 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2024-08-26 21:41:54 +0100 |
commit | 4e8ec5a4c86873018f3ba33669fb9affff280d6e (patch) | |
tree | c200d8e99f86f05ea771285f034c31254124db2c /src | |
parent | 3500eb6c7ba57fd2ce32f89fdde6edd6918679f9 (diff) | |
download | xmobar-4e8ec5a4c86873018f3ba33669fb9affff280d6e.tar.gz xmobar-4e8ec5a4c86873018f3ba33669fb9affff280d6e.tar.bz2 |
fallback to weather in weatherS
Diffstat (limited to 'src')
-rw-r--r-- | src/Xmobar/Plugins/Monitors/Weather.hs | 4 |
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 |