summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Xmobar/Plugins/BufferedPipeReader.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-11-25 03:49:15 +0000
committerjao <jao@gnu.org>2018-11-25 03:49:15 +0000
commit3852d6b5e354b9b03b30f04803a87b2224aeb85c (patch)
tree88213d8fd2e2c5454e3a9ba696ef644c16b8f71b /src/lib/Xmobar/Plugins/BufferedPipeReader.hs
parent0691071716e6cfa6040044be0ca782771fe6104c (diff)
downloadxmobar-3852d6b5e354b9b03b30f04803a87b2224aeb85c.tar.gz
xmobar-3852d6b5e354b9b03b30f04803a87b2224aeb85c.tar.bz2
Xmobar.System.Environment
Diffstat (limited to 'src/lib/Xmobar/Plugins/BufferedPipeReader.hs')
-rw-r--r--src/lib/Xmobar/Plugins/BufferedPipeReader.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Xmobar/Plugins/BufferedPipeReader.hs b/src/lib/Xmobar/Plugins/BufferedPipeReader.hs
index ce6a783..13f64ac 100644
--- a/src/lib/Xmobar/Plugins/BufferedPipeReader.hs
+++ b/src/lib/Xmobar/Plugins/BufferedPipeReader.hs
@@ -20,10 +20,10 @@ import Control.Concurrent.STM
import System.IO
import System.IO.Unsafe(unsafePerformIO)
-import Xmobar.Environment
import Xmobar.Plugins
import Xmobar.Utils(hGetLineSafe)
import Xmobar.System.Signal
+import Xmobar.System.Environment
data BufferedPipeReader = BufferedPipeReader String [(Int, Bool, String)]
deriving (Read, Show)
@@ -45,7 +45,7 @@ instance Exec BufferedPipeReader where
writer chan str rst
where
- initV :: IO ( TChan (Int, Bool, String), TVar (Maybe String), TVar Bool )
+ initV :: IO (TChan (Int, Bool, String), TVar (Maybe String), TVar Bool)
initV = atomically $ do
tc <- newTChan
ts <- newTVar Nothing