diff options
author | slotThe <soliditsallgood@tuta.io> | 2020-02-03 09:38:02 +0100 |
---|---|---|
committer | slotThe <soliditsallgood@tuta.io> | 2020-02-05 09:21:44 +0100 |
commit | ceece8eb3de04edbc84deb683225f05c763aa1b0 (patch) | |
tree | 9cc04b3d12dbb17b3ca630f554dfc851a8fb3d6e /src/Xmobar/Plugins/Monitors/Weather.hs | |
parent | 1ddcc4d35ddee16e49b74acb4d94c66aecd52041 (diff) | |
download | xmobar-ceece8eb3de04edbc84deb683225f05c763aa1b0.tar.gz xmobar-ceece8eb3de04edbc84deb683225f05c763aa1b0.tar.bz2 |
New function `getArgvs` to get all values from user input
Diffstat (limited to 'src/Xmobar/Plugins/Monitors/Weather.hs')
-rw-r--r-- | src/Xmobar/Plugins/Monitors/Weather.hs | 4 |
1 files changed, 4 insertions, 0 deletions
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 |