From ff867646d7b893506455fa4666c97ce7b415a4e7 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Thu, 25 Apr 2013 04:09:57 +0200 Subject: A bit of documentation --- news.md | 13 ++++++++++++- readme.md | 13 +++++++++---- src/Config.hs | 3 ++- 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 `` 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% }{ %uname% * %theDate%" + , template = "%StdinReader% }{ " ++ + "%uname% * %theDate%" } -- cgit v1.2.3