awesomerc: document markup

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-07-09 10:43:23 +02:00
parent e3bbf3f15d
commit 541a190a21
1 changed files with 25 additions and 3 deletions

View File

@ -33,9 +33,31 @@ alpha channel to `aa' and will blend the green with the color under it.
TEXT FORMAT
-----------
You can use/mix pango-markup and awesome-markup on text properties.
A pango-markup example: "<span weight=\'bold\' foreground=\'#336699\'>...</span>".
An awesome-markup example: "<text align=\'right\'>...</text>".
You can use and mix pango-markup and awesome-markup in text string.
Pango markup documentation can be found in the pango documentation at
http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html.
List of awesome markup and their attribute:
* bg
- color: background color
- image: background image
- align: background image alignment
- resize: resize background image to text size
* border
- color: border color
- width: border width
* margin
- left: left margin in pixel
- right: right margin in pixel
* text
- align: text alignment
- shadow: shadow color
- shadow_offset: shadow color offset in pixel
A pango-markup example: <span weight="bold" foreground="#336699">...</span>.
An awesome-markup example: <text align="right"/>.
WIDGETS
-------