summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-06-30 18:26:11 +0100
committerjao <jao@gnu.org>2019-06-30 18:26:11 +0100
commit0657350fe6948954ff6c2aa2593eedc7cf11d4a0 (patch)
treec04973a8328f120e7c0c4711924fabc31a1fecef
parent615843d0b624aaab36c318a8daa2062e4e7f5a59 (diff)
downloadxmobar-0657350fe6948954ff6c2aa2593eedc7cf11d4a0.tar.gz
xmobar-0657350fe6948954ff6c2aa2593eedc7cf11d4a0.tar.bz2
Eye candy
-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 $