diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2024-02-03 16:27:48 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2024-02-03 16:27:48 -0700 |
| commit | e563fb7dfe0c43cec679deaae82bc0a1e2aa056e (patch) | |
| tree | 983982dc0c8ea32818ce3f62f72f8ef3ba215e1a /xmobar/extras/weather/src/Main.hs | |
| parent | 1b366226dea65301510bf5dceab0196d95b0d4dd (diff) | |
| download | rde-e563fb7dfe0c43cec679deaae82bc0a1e2aa056e.tar.gz rde-e563fb7dfe0c43cec679deaae82bc0a1e2aa056e.tar.bz2 rde-e563fb7dfe0c43cec679deaae82bc0a1e2aa056e.zip | |
Change some formatting around xmobar.
Diffstat (limited to 'xmobar/extras/weather/src/Main.hs')
| -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 = |