summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Xmobar/Plugins/MarqueePipeReader.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-11-25 04:02:15 +0000
committerjao <jao@gnu.org>2018-11-25 04:02:15 +0000
commit5401aff9955ebef2bf453294281fc38e5c15bc23 (patch)
tree55e44958027b3bfdf424262920d48e498a1b57f2 /src/lib/Xmobar/Plugins/MarqueePipeReader.hs
parent3852d6b5e354b9b03b30f04803a87b2224aeb85c (diff)
downloadxmobar-5401aff9955ebef2bf453294281fc38e5c15bc23.tar.gz
xmobar-5401aff9955ebef2bf453294281fc38e5c15bc23.tar.bz2
No need for silly Xmobar.Plugins
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 48f5355..f106a21 100644
--- a/src/lib/Xmobar/Plugins/MarqueePipeReader.hs
+++ b/src/lib/Xmobar/Plugins/MarqueePipeReader.hs
@@ -16,8 +16,9 @@ module Xmobar.Plugins.MarqueePipeReader where
import System.IO (openFile, IOMode(ReadWriteMode), Handle)
import Xmobar.System.Environment
-import Xmobar.Plugins (tenthSeconds, Exec(alias, start))
+import Xmobar.Plugins (Exec(alias, start))
import Xmobar.Utils(hGetLineSafe)
+import Xmobar.Commands(tenthSeconds)
import System.Posix.Files (getFileStatus, isNamedPipe)
import Control.Concurrent(forkIO, threadDelay)
import Control.Concurrent.STM (TChan, atomically, writeTChan, tryReadTChan, newTChan)