From 3852d6b5e354b9b03b30f04803a87b2224aeb85c Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 25 Nov 2018 03:49:15 +0000 Subject: Xmobar.System.Environment --- src/lib/Xmobar/Plugins/BufferedPipeReader.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/Xmobar/Plugins/BufferedPipeReader.hs') 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 -- cgit v1.2.3