summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-28 04:48:57 +0100
committerjao <jao@gnu.org>2022-09-28 04:48:57 +0100
commiteb7208933c6b748e107d6259c88094e9fe6f8cc1 (patch)
treea306454a19013fe15c97865f56c12e7c6ace5a6f /doc
parent2bc71d2f670de1a1156f74b2c9e1065758c9125e (diff)
downloadxmobar-eb7208933c6b748e107d6259c88094e9fe6f8cc1.tar.gz
xmobar-eb7208933c6b748e107d6259c88094e9fe6f8cc1.tar.bz2
fixes to the above (or is it below?)
Diffstat (limited to 'doc')
-rw-r--r--doc/quick-start.org40
1 files changed, 24 insertions, 16 deletions
diff --git a/doc/quick-start.org b/doc/quick-start.org
index ab7bab4..43234b1 100644
--- a/doc/quick-start.org
+++ b/doc/quick-start.org
@@ -20,7 +20,7 @@ configuration language, see [[../etc/xmobar.config][etc/xmobar.config]], and you
This is the list of command line options (the output of =xmobar --help=):
- #+begin_src shell
+ #+begin_example
Usage: xmobar [OPTION...] [FILE]
Options:
-h, -? --help This help
@@ -38,19 +38,20 @@ configuration language, see [[../etc/xmobar.config][etc/xmobar.config]], and you
-o --top Place xmobar at the top of the screen
-b --bottom Place xmobar at the bottom of the screen
-d --dock Don't override redirect from WM and function as a dock
- -a alignsep --alignsep=alignsep Separators for left, center and right text
- alignment. Default: '}{'
- -s char --sepchar=char Character used to separate commands in
- the output template. Default '%'
- -t template --template=template Output template
- -c commands --commands=commands List of commands to be executed
- -C command --add-command=command Add to the list of commands to be executed
- -x screen --screen=screen On which X screen number to start
- -p position --position=position Specify position of xmobar. Same syntax as in config file
- -T [format] --text[=format] Write output to stdout
-
- Mail bug reports and suggestions to <mail@jao.io>
- #+end_src
+ -a alignsep --alignsep=alignsep Separators for left, center and right text
+ alignment. Default: '}{'
+ -s char --sepchar=char Character used to separate commands in
+ the output template. Default '%'
+ -t template --template=template Output template
+ -c commands --commands=commands List of commands to be executed
+ -C command --add-command=command Add to the list of commands to be executed
+ -x screen --screen=screen On which X screen number to start
+ -p position --position=position Specify position of xmobar. Same syntax as in config file
+ -T [format] --text[=format] Write output to stdout
+
+ Mail bug reports and suggestions to <mail@jao.io>
+ #+end_example
+
* Configuration Options
:PROPERTIES:
:CUSTOM_ID: configuration-options
@@ -123,10 +124,17 @@ configuration language, see [[../etc/xmobar.config][etc/xmobar.config]], and you
It's also possible to specify a list of fonts, separating them by commas,
so that they act as fallbacks when the preceding one is not able to display
- a given glyph. For instance you could have:
+ a given glyph. A bit confusingly, the styles and sizes come in reverse
+ order after the families:
+
+ #+begin_example
+ Family 1, Family 2 Styles 2 Size 2, Styles 1 Size 1
+ #+end_example
+
+ For instance you could have:
#+begin_example
- Souce Code Pro, Not Color Emoji Semi-Bold, Regular 10, 12
+ Souce Code Pro, Not Color Emoji Regular 12, Semi-Bold 10
#+end_example
to use Source Code Pro Semi-Bold 10 when possible, and fall back to Noto