summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2023-06-02 23:45:55 +0100
committerjao <jao@gnu.org>2023-06-02 23:45:55 +0100
commitb5e397b1fdb9867b1d4ac599c88ef8b6354b5782 (patch)
tree5623a8dfe37424d6909758747b0794dd4edea08e /doc
parentc9b6bf77415afff2dbd7b8e33ccdd21b771fbec0 (diff)
downloadxmobar-b5e397b1fdb9867b1d4ac599c88ef8b6354b5782.tar.gz
xmobar-b5e397b1fdb9867b1d4ac599c88ef8b6354b5782.tar.bz2
center middle section for templates of the form "}M{" (fixes #677)
Diffstat (limited to 'doc')
-rw-r--r--doc/quick-start.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/quick-start.org b/doc/quick-start.org
index 2b34816..3f381fe 100644
--- a/doc/quick-start.org
+++ b/doc/quick-start.org
@@ -464,7 +464,8 @@ configuration language, see [[../etc/xmobar.config][etc/xmobar.config]], and you
- If the template has the form =L}M{R=, with L, R, M arbitrary specs, the
monitors in =L= are drawn first, aligned to the left, then =R=, aligned to
the right, and finally =M= is drawn centered in the bar. =R= is trimmed to
- the space left by =L=, and =M= is trimmed to the space left by =L= and =R=.
+ the space left by =L=, and =M= is trimmed to the space left by =L= and =R=. As
+ a particular case, =}M{= will draw a single segment centered in the bar.
- If the template has the form =L}{R=, =L= is drawn aligned to the left first
and then =R=, aligned to the right and trimmed if needed to fit in the