diff options
author | jao <jao@gnu.org> | 2018-11-25 03:49:15 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2018-11-25 03:49:15 +0000 |
commit | 3852d6b5e354b9b03b30f04803a87b2224aeb85c (patch) | |
tree | 88213d8fd2e2c5454e3a9ba696ef644c16b8f71b /src/lib/Xmobar/Plugins/BufferedPipeReader.hs | |
parent | 0691071716e6cfa6040044be0ca782771fe6104c (diff) | |
download | xmobar-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.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 |