diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2024-02-03 16:56:54 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2024-02-03 16:56:54 -0700 |
| commit | 07a79849230acba680b04cd0cbad085dfc18217b (patch) | |
| tree | 88fa6b6c54714a090185924de7e1334191c873aa /xmobar | |
| parent | 63342cd6e7979eeb177a08d42868be972aab2b47 (diff) | |
| parent | 464752ba36ad309606b6a9f63cd7c7fffa967a42 (diff) | |
| download | rde-07a79849230acba680b04cd0cbad085dfc18217b.tar.gz rde-07a79849230acba680b04cd0cbad085dfc18217b.tar.bz2 rde-07a79849230acba680b04cd0cbad085dfc18217b.zip | |
Merge branch 'main' into wip_mapping_keycodes
Diffstat (limited to 'xmobar')
| -rw-r--r-- | xmobar/extras/weather/src/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmobar/extras/weather/src/Main.hs b/xmobar/extras/weather/src/Main.hs index ccabc21..aff669a 100644 --- a/xmobar/extras/weather/src/Main.hs +++ b/xmobar/extras/weather/src/Main.hs @@ -180,7 +180,7 @@ handleWeather w = execWriter $ do tell " " tell $ lightGrey $ fn 3 $ windspeedMiles (currentCondition w) ++ "mph" - tell " " + tell " " let conditions = if isNight then conditionsIconNight else conditionsIconDay tell $ @@ -188,7 +188,7 @@ handleWeather w = execWriter $ do fromMaybe "?" $ findMatch (map Data.Char.toLower $ weatherDesc (currentCondition w)) conditions - tell " " + tell " " tell $ lightGrey $ fn 3 $ printf "%s°F" (tempF $ currentCondition w) where isNight = |