summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--readme.md12
-rw-r--r--src/Xmobar/X11/Parsers.hs2
2 files changed, 10 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index c8a75e6..fa4d597 100644
--- a/readme.md
+++ b/readme.md
@@ -11,9 +11,15 @@ Xmobar was inspired by the [Ion3] status bar, and supports similar
features, like dynamic color management, icons, output templates, and
extensibility through plugins.
-[This screenshot](doc/xmobar-sawfish.png) shows xmobar running under
-[sawfish], and [this one](doc/xmobar-xmonad.png) is a desktop with
-[xmonad] and two instances of xmobar.
+These are two xmobar instances using [the author's
+configuration](https://gitlab.com/jaor/xmobar-config/):
+
+![top](https://gitlab.com/jaor/xmobar-config/raw/master/img/xmobar-top.png)
+
+![bottom](https://gitlab.com/jaor/xmobar-config/raw/master/img/xmobar-bottom.png)
+
+and [this one](doc/xmobar-xmonad.png) is a full desktop with [xmonad]
+and, again, two instances of xmobar.
[xmonad]: http://xmonad.org
[Ion3]: http://tuomov.iki.fi/software/
diff --git a/src/Xmobar/X11/Parsers.hs b/src/Xmobar/X11/Parsers.hs
index 258964a..7fa42d7 100644
--- a/src/Xmobar/X11/Parsers.hs
+++ b/src/Xmobar/X11/Parsers.hs
@@ -55,7 +55,7 @@ stringParser :: String -> FontIndex -> Maybe [Action]
-> Parser [[(Widget, ColorString, FontIndex, Maybe [Action])]]
stringParser c f a = manyTill (allParsers c f a) eof
--- | Parses a maximal string without color markup.
+-- | Parses a maximal string without markup.
textParser :: String -> FontIndex -> Maybe [Action]
-> Parser [(Widget, ColorString, FontIndex, Maybe [Action])]
textParser c f a = do s <- many1 $