summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Xmobar/Plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Xmobar/Plugins')
-rw-r--r--src/lib/Xmobar/Plugins/BufferedPipeReader.hs4
-rw-r--r--src/lib/Xmobar/Plugins/MarqueePipeReader.hs2
-rw-r--r--src/lib/Xmobar/Plugins/PipeReader.hs2
3 files changed, 4 insertions, 4 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
diff --git a/src/lib/Xmobar/Plugins/MarqueePipeReader.hs b/src/lib/Xmobar/Plugins/MarqueePipeReader.hs
index ad1ae40..48f5355 100644
--- a/src/lib/Xmobar/Plugins/MarqueePipeReader.hs
+++ b/src/lib/Xmobar/Plugins/MarqueePipeReader.hs
@@ -15,7 +15,7 @@
module Xmobar.Plugins.MarqueePipeReader where
import System.IO (openFile, IOMode(ReadWriteMode), Handle)
-import Xmobar.Environment
+import Xmobar.System.Environment
import Xmobar.Plugins (tenthSeconds, Exec(alias, start))
import Xmobar.Utils(hGetLineSafe)
import System.Posix.Files (getFileStatus, isNamedPipe)
diff --git a/src/lib/Xmobar/Plugins/PipeReader.hs b/src/lib/Xmobar/Plugins/PipeReader.hs
index 593a4a7..5e22408 100644
--- a/src/lib/Xmobar/Plugins/PipeReader.hs
+++ b/src/lib/Xmobar/Plugins/PipeReader.hs
@@ -16,8 +16,8 @@ module Xmobar.Plugins.PipeReader where
import System.IO
import Xmobar.Plugins(Exec(..))
-import Xmobar.Environment(expandEnv)
import Xmobar.Utils(hGetLineSafe)
+import Xmobar.System.Environment(expandEnv)
import System.Posix.Files
import Control.Concurrent(threadDelay)
import Control.Exception