xmobar 0.24.1 → 0.24.2
raw patch · 4 files changed
+14/−5 lines, 4 files
Files
- news.md +9/−1
- readme.md +1/−1
- src/Plugins/Monitors/Weather.hs +3/−2
- xmobar.cabal +1/−1
news.md view
@@ -1,12 +1,20 @@ % xmobar - Release notes +## Version 0.24.2 (Aug 8, 2016)++_Bug fixes_++ - New Weather plugin URL (see [issue #270]).++[issue #270]: https://github.com/jaor/xmobar/issues/270+ ## Version 0.24.1 (Jul 28, 2016) _Bug fixes_ - Restoring compatibility with GHC 7.6, (see [issue #269]). -[issue #268]: https://github.com/jaor/xmobar/issues/269+[issue #269]: https://github.com/jaor/xmobar/issues/269 ## Version 0.24 (Jul 26, 2016)
readme.md view
@@ -10,7 +10,7 @@ features, like dynamic color management, icons, output templates, and extensibility through plugins. -This page documents xmobar 0.24.1 (see [release notes]).+This page documents xmobar 0.24.2 (see [release notes]). [This screenshot] shows xmobar running under [sawfish], with antialiased fonts. And [this one] is my desktop with [xmonad] and two
src/Plugins/Monitors/Weather.hs view
@@ -183,7 +183,8 @@ return [WI st ss y m d h w v sk tC tF dC dF rh p] defUrl :: String-defUrl = "http://weather.noaa.gov/pub/data/observations/metar/decoded/"+-- "http://weather.noaa.gov/pub/data/observations/metar/decoded/"+defUrl = "http://tgftp.nws.noaa.gov/data/observations/metar/decoded/" stationUrl :: String -> String stationUrl station = defUrl ++ station ++ ".TXT"@@ -191,7 +192,7 @@ getData :: String -> IO String #ifdef HTTP_CONDUIT getData station = CE.catch (do- manager <- newManager tlsManagerSettings + manager <- newManager tlsManagerSettings request <- parseUrl $ stationUrl station res <- httpLbs request manager return $ B.unpack $ responseBody res
xmobar.cabal view
@@ -1,5 +1,5 @@ name: xmobar-version: 0.24.1+version: 0.24.2 homepage: http://xmobar.org synopsis: A Minimalistic Text Based Status Bar description: Xmobar is a minimalistic text based status bar.