summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README13
-rw-r--r--README.html13
2 files changed, 24 insertions, 2 deletions
diff --git a/README b/README
index defe3a7..a80af6c 100644
--- a/README
+++ b/README
@@ -82,10 +82,21 @@ Other configuration options:
: Default font color
`position`
-: Top, Bottom or Static (with x, y, width and height).
+: Top, TopW, Bottom, BottomW or Static (with x, y, width and height).
+
+: TopW and BottomW take 2 arguments: an alignment parameter (L for
+ left, C for centered, R for Right) and an integer for the
+ percentage width Xmobar window will have in respect to the
+ screen width
: For example:
+: position = Bottom C 75
+
+: to place Xmobar at the bottom, centered with the 75% of the screen width.
+
+: Or
+
: position = Static { xpos = 0 , ypos = 0, width = 1024, height = 15 }
: or
diff --git a/README.html b/README.html
index 0861c70..58436de 100644
--- a/README.html
+++ b/README.html
@@ -257,11 +257,22 @@ ol.decimal { list-style-type: decimal; }
></dt
><dd
><p
- >Top, Bottom or Static (with x, y, width and height).</p
+ >Top, TopW, Bottom, BottomW or Static (with x, y, width and height).</p
+ ><p
+ >TopW and BottomW take 2 arguments: an alignment parameter (L for left, C for centered, R for Right) and an integer for the percentage width Xmobar window will have in respect to the screen width</p
><p
>For example:</p
><pre
><code
+ > position = Bottom C 75
+</code
+ ></pre
+ ><p
+ >to place Xmobar at the bottom, centered with the 75% of the screen width.</p
+ ><p
+ >Or</p
+ ><pre
+ ><code
> position = Static { xpos = 0 , ypos = 0, width = 1024, height = 15 }
</code
></pre