diff options
author | jao <jao@gnu.org> | 2022-11-08 22:53:17 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-11-08 22:53:17 +0000 |
commit | 7fcebc1b39d88cea08f78affcca62a80189c0d5a (patch) | |
tree | 9688e76d053df27c5d3cdfb5acfedae0ef66f448 /doc/quick-start.org | |
parent | 4bd3eb294e6b8c5960bb20098bcd19c894fafc7e (diff) | |
download | xmobar-7fcebc1b39d88cea08f78affcca62a80189c0d5a.tar.gz xmobar-7fcebc1b39d88cea08f78affcca62a80189c0d5a.tar.bz2 |
documentation and credits
Diffstat (limited to 'doc/quick-start.org')
-rw-r--r-- | doc/quick-start.org | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/quick-start.org b/doc/quick-start.org index eb89f06..53c4803 100644 --- a/doc/quick-start.org +++ b/doc/quick-start.org @@ -192,7 +192,7 @@ configuration language, see [[../etc/xmobar.config][etc/xmobar.config]], and you *** Bar position - - =position= Top, TopH, TopP, TopW, TopSize, Bottom, BottomH, + - =position= Top, TopH, TopHM, TopP, TopW, TopSize, Bottom, BottomH, BottomHM, BottomP, BottomW, BottomSize or Static (with x, y, width and height). TopP and BottomP take 2 arguments: left padding and right padding. @@ -219,7 +219,18 @@ configuration language, see [[../etc/xmobar.config][etc/xmobar.config]], and you position = BottomH 30 #+end_src - to make a 30 tall bar on the bottom of the screen. + to make a 30 tall bar on the bottom of the screen. The corresponding + variants ~TopHM~ and ~BottomHM~ allow you to specify, in addition to a + height, margins (in pixels) with the borders of the screen (left, right + top and bottom); so they take five integers as arguments. For instance, + if you one a margin of 2 pixels to the left of the top bar in the above + example and 4 to its right and top, you could use: + + #+begin_src haskell + position = TopHM 30 2 4 4 0 + #+end_src + + and similarly for ~BottomHM~. #+begin_src haskell position = BottomW C 75 |