diff options
author | jao <jao@gnu.org> | 2022-02-05 02:49:22 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-02-06 00:24:10 +0000 |
commit | afc2d1ed565910b372f65eaf77ea90878ac3ab2b (patch) | |
tree | 4b2b79d683b82cc0e16460884c8bfcc6c27b33cb /src/Xmobar/Text/Output.hs | |
parent | c0a9c6df0080a0db5981047f80c9c120ac1cef61 (diff) | |
download | xmobar-afc2d1ed565910b372f65eaf77ea90878ac3ab2b.tar.gz xmobar-afc2d1ed565910b372f65eaf77ea90878ac3ab2b.tar.bz2 |
swaybar-protocol: support for clickable Action
Diffstat (limited to 'src/Xmobar/Text/Output.hs')
-rw-r--r-- | src/Xmobar/Text/Output.hs | 4 |
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 |