summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Xmobar/Plugins/MarqueePipeReader.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-11-25 06:28:21 +0000
committerjao <jao@gnu.org>2018-11-25 06:28:21 +0000
commitf7e4b2be56f20862191e05fa4509473a1bc92f5a (patch)
treefa12f893d52c4dccbca305503fd1efc6ecb4ccb5 /src/lib/Xmobar/Plugins/MarqueePipeReader.hs
parent5aae9bf15e38d5a9ba8ffa3cca7fd545f4ffe1e1 (diff)
downloadxmobar-f7e4b2be56f20862191e05fa4509473a1bc92f5a.tar.gz
xmobar-f7e4b2be56f20862191e05fa4509473a1bc92f5a.tar.bz2
Wee refactoring
Diffstat (limited to 'src/lib/Xmobar/Plugins/MarqueePipeReader.hs')
-rw-r--r--src/lib/Xmobar/Plugins/MarqueePipeReader.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Xmobar/Plugins/MarqueePipeReader.hs b/src/lib/Xmobar/Plugins/MarqueePipeReader.hs
index 32c6997..7d28d24 100644
--- a/src/lib/Xmobar/Plugins/MarqueePipeReader.hs
+++ b/src/lib/Xmobar/Plugins/MarqueePipeReader.hs
@@ -17,7 +17,8 @@ module Xmobar.Plugins.MarqueePipeReader where
import System.IO (openFile, IOMode(ReadWriteMode), Handle)
import Xmobar.System.Environment
import Xmobar.Utils(hGetLineSafe)
-import Xmobar.Commands(tenthSeconds, Exec(alias, start))
+import Xmobar.Commands(Exec(alias, start))
+import Xmobar.Utils(tenthSeconds)
import System.Posix.Files (getFileStatus, isNamedPipe)
import Control.Concurrent(forkIO, threadDelay)
import Control.Concurrent.STM (TChan, atomically, writeTChan, tryReadTChan, newTChan)