summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Xmobar/Parsers.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Xmobar/Parsers.hs')
-rw-r--r--src/lib/Xmobar/Parsers.hs13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/lib/Xmobar/Parsers.hs b/src/lib/Xmobar/Parsers.hs
index b7e4dbd..d8bd409 100644
--- a/src/lib/Xmobar/Parsers.hs
+++ b/src/lib/Xmobar/Parsers.hs
@@ -50,13 +50,12 @@ allParsers :: ColorString
-> FontIndex
-> Maybe [Action]
-> Parser [(Widget, ColorString, FontIndex, Maybe [Action])]
-allParsers c f a =
- textParser c f a
- <|> try (iconParser c f a)
- <|> try (rawParser c f a)
- <|> try (actionParser c f a)
- <|> try (fontParser c a)
- <|> colorParser f a
+allParsers c f a = textParser c f a
+ <|> try (iconParser c f a)
+ <|> try (rawParser c f a)
+ <|> try (actionParser c f a)
+ <|> try (fontParser c a)
+ <|> colorParser f a
-- | Gets the string and combines the needed parsers
stringParser :: String -> FontIndex -> Maybe [Action]