diff options
author | jao <jao@gnu.org> | 2019-06-30 18:26:11 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2019-06-30 18:26:11 +0100 |
commit | 0657350fe6948954ff6c2aa2593eedc7cf11d4a0 (patch) | |
tree | c04973a8328f120e7c0c4711924fabc31a1fecef | |
parent | 615843d0b624aaab36c318a8daa2062e4e7f5a59 (diff) | |
download | xmobar-0657350fe6948954ff6c2aa2593eedc7cf11d4a0.tar.gz xmobar-0657350fe6948954ff6c2aa2593eedc7cf11d4a0.tar.bz2 |
Eye candy
-rw-r--r-- | readme.md | 12 | ||||
-rw-r--r-- | src/Xmobar/X11/Parsers.hs | 2 |
2 files changed, 10 insertions, 4 deletions
@@ -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 $ |