From 7fcebc1b39d88cea08f78affcca62a80189c0d5a Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 8 Nov 2022 22:53:17 +0000 Subject: documentation and credits --- doc/quick-start.org | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3