summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--news.md13
-rw-r--r--readme.md13
-rw-r--r--src/Config.hs3
3 files changed, 23 insertions, 6 deletions
diff --git a/news.md b/news.md
index 3707786..96e19f4 100644
--- a/news.md
+++ b/news.md
@@ -10,7 +10,18 @@ _New features_
- New `TopP` and `BottomP` alignments, taking left and right
paddings (thanks to Dmitry Malikov).
- New `<freeratio>` field for memory monitor (Peter Simons).
- - New `allDesktops` configuration option.
+ - New `allDesktops` and `overrideRedirect` configuration options,
+ providing dock behaviour in tiling WMs (when set to True and False
+ respectively). Cf. discussion at [github #105].
+
+_Bug fixes_
+
+ - Partial (as reports go) fix for [github #77].
+ - Safer volume plugin (Dmitry Malikov).
+ - Battery percentage capped at 100% (RJ Regenold).
+
+[github #77]: https://github.com/jaor/xmobar/issues/77
+[github #77]: https://github.com/jaor/xmobar/issues/105
## Version 0.16 (Dec 3, 2012)
diff --git a/readme.md b/readme.md
index 5872dfc..2e2de05 100644
--- a/readme.md
+++ b/readme.md
@@ -248,13 +248,18 @@ Other configuration options:
automatically (by a plugin) to make it reappear.
`allDesktops`
-: When set to True (the default is False), xmobar will tell the
- window manager explicitily to be shown in all desktops, by
- setting `_NET_WM_DESKTOP` to 0xffffffff.
+: When set to True (the default), xmobar will tell the window manager
+ explicitily to be shown in all desktops, by setting
+ `_NET_WM_DESKTOP` to 0xffffffff.
+
+`overrideRedirect`
+: If you're running xmobar in a tiling window manager, you might need
+ to set this option to `False` so that it behaves as a docked
+ application. Defaults to `True`.
`persistent`
: When True the window status is fixed i.e. hiding or revealing is not
- possible. This option can be toggled at runtime.
+ possible. This option can be toggled at runtime. Defaults to False.
`border`
: TopB, TopBM, BottomB, BottomBM, FullB, FullBM or NoBorder (default).
diff --git a/src/Config.hs b/src/Config.hs
index fef27fb..4f03d93 100644
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -119,7 +119,8 @@ defaultConfig =
, Run StdinReader]
, sepChar = "%"
, alignSep = "}{"
- , template = "%StdinReader% }{ <fc=#00FF00>%uname%</fc> * <fc=#FF0000>%theDate%</fc>"
+ , template = "%StdinReader% }{ " ++
+ "<fc=#00FF00>%uname%</fc> * <fc=#FF0000>%theDate%</fc>"
}