summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Text/Output.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xmobar/Text/Output.hs')
-rw-r--r--src/Xmobar/Text/Output.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xmobar/Text/Output.hs b/src/Xmobar/Text/Output.hs
index 6aa1d56..134dfed 100644
--- a/src/Xmobar/Text/Output.hs
+++ b/src/Xmobar/Text/Output.hs
@@ -24,11 +24,11 @@ import Xmobar.Run.Parsers ( Segment
import Xmobar.Text.Ansi (withAnsiColor)
import Xmobar.Text.Pango (withPangoColor)
-import Xmobar.Text.Swaybar (formatSwaybar, preamble)
+import Xmobar.Text.Swaybar (formatSwaybar, prepare)
initLoop :: Config -> IO ()
initLoop conf = case textOutputFormat conf of
- Swaybar -> putStrLn preamble
+ Swaybar -> prepare
_ -> return ()
withColor :: TextOutputFormat -> (String, String) -> String -> String