From b5e397b1fdb9867b1d4ac599c88ef8b6354b5782 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 2 Jun 2023 23:45:55 +0100 Subject: center middle section for templates of the form "}M{" (fixes #677) --- doc/quick-start.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3