diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-04-25 04:09:57 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-04-25 04:28:40 +0200 |
commit | ff867646d7b893506455fa4666c97ce7b415a4e7 (patch) | |
tree | 3a016fbbd445c91b9ca0c4c9266cad3bc7be82ce | |
parent | 2427c39a5e369aba0f3b00577aca4ccc5e200592 (diff) | |
download | xmobar-ff867646d7b893506455fa4666c97ce7b415a4e7.tar.gz xmobar-ff867646d7b893506455fa4666c97ce7b415a4e7.tar.bz2 |
A bit of documentation
-rw-r--r-- | news.md | 13 | ||||
-rw-r--r-- | readme.md | 13 | ||||
-rw-r--r-- | src/Config.hs | 3 |
3 files changed, 23 insertions, 6 deletions
@@ -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) @@ -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>" } |