summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/App/Main.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-02-04 00:34:44 +0000
committerjao <jao@gnu.org>2022-02-04 00:34:44 +0000
commit34bb65029f0fdcb3f88043b3b0ca6ebd46bee161 (patch)
tree394331f1dd642bb4f149a82ee0e23b40b7fbd9ee /src/Xmobar/App/Main.hs
parentab47eb31b532c232255b2c2385160510145e40ba (diff)
downloadxmobar-34bb65029f0fdcb3f88043b3b0ca6ebd46bee161.tar.gz
xmobar-34bb65029f0fdcb3f88043b3b0ca6ebd46bee161.tar.bz2
Xmobar.App.TextEventLoop -> Xmobar.Text.Loop
Diffstat (limited to 'src/Xmobar/App/Main.hs')
-rw-r--r--src/Xmobar/App/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xmobar/App/Main.hs b/src/Xmobar/App/Main.hs
index c660a88..52cdca5 100644
--- a/src/Xmobar/App/Main.hs
+++ b/src/Xmobar/App/Main.hs
@@ -30,12 +30,12 @@ import Xmobar.App.Config
import Xmobar.Config.Types
import Xmobar.Config.Parse
import qualified Xmobar.X11.Loop as X11
+import qualified Xmobar.Text.Loop as Text
import Xmobar.App.Opts (recompileFlag, verboseFlag, getOpts, doOpts)
-import Xmobar.App.TextEventLoop (textLoop)
import Xmobar.App.Compile (recompile, trace)
xmobar :: Config -> IO ()
-xmobar cfg = if textOutput cfg then textLoop cfg else X11.loop cfg
+xmobar cfg = if textOutput cfg then Text.loop cfg else X11.loop cfg
configFromArgs :: Config -> IO Config
configFromArgs cfg = getArgs >>= getOpts >>= doOpts cfg . fst