summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/Monitors/UVMeter.hs
diff options
context:
space:
mode:
authorslotThe <soliditsallgood@tuta.io>2020-02-03 09:38:02 +0100
committerslotThe <soliditsallgood@tuta.io>2020-02-05 09:21:44 +0100
commitceece8eb3de04edbc84deb683225f05c763aa1b0 (patch)
tree9cc04b3d12dbb17b3ca630f554dfc851a8fb3d6e /src/Xmobar/Plugins/Monitors/UVMeter.hs
parent1ddcc4d35ddee16e49b74acb4d94c66aecd52041 (diff)
downloadxmobar-ceece8eb3de04edbc84deb683225f05c763aa1b0.tar.gz
xmobar-ceece8eb3de04edbc84deb683225f05c763aa1b0.tar.bz2
New function `getArgvs` to get all values from user input
Diffstat (limited to 'src/Xmobar/Plugins/Monitors/UVMeter.hs')
-rw-r--r--src/Xmobar/Plugins/Monitors/UVMeter.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Xmobar/Plugins/Monitors/UVMeter.hs b/src/Xmobar/Plugins/Monitors/UVMeter.hs
index 079177f..839daed 100644
--- a/src/Xmobar/Plugins/Monitors/UVMeter.hs
+++ b/src/Xmobar/Plugins/Monitors/UVMeter.hs
@@ -22,6 +22,7 @@ import Network.HTTP.Conduit
(parseRequest, newManager, tlsManagerSettings, httpLbs,
responseBody)
import Data.ByteString.Lazy.Char8 as B
+import Data.IORef (newIORef, readIORef)
import Text.Read (readMaybe)
import Text.Parsec
import Text.Parsec.String