From ceece8eb3de04edbc84deb683225f05c763aa1b0 Mon Sep 17 00:00:00 2001 From: slotThe Date: Mon, 3 Feb 2020 09:38:02 +0100 Subject: New function `getArgvs` to get all values from user input --- src/Xmobar/Plugins/Monitors/Weather.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Xmobar/Plugins/Monitors/Weather.hs') diff --git a/src/Xmobar/Plugins/Monitors/Weather.hs b/src/Xmobar/Plugins/Monitors/Weather.hs index 07d8cc4..f448b11 100644 --- a/src/Xmobar/Plugins/Monitors/Weather.hs +++ b/src/Xmobar/Plugins/Monitors/Weather.hs @@ -19,6 +19,10 @@ import Xmobar.Plugins.Monitors.Common import qualified Control.Exception as CE +import Control.Monad.Reader (asks) +import qualified Data.ByteString.Lazy.Char8 as B +import Data.Char (toLower) +import Data.IORef (newIORef, readIORef) import Network.HTTP.Conduit import Network.HTTP.Types.Status import Network.HTTP.Types.Method -- cgit v1.2.3