diff options
Diffstat (limited to 'src/lib/Xmobar/Plugins/BufferedPipeReader.hs')
-rw-r--r-- | src/lib/Xmobar/Plugins/BufferedPipeReader.hs | 4 |
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 |