documentation for the graph-widget

also: lpadding to padding_left
and bcolor to bordercolor on the progressbar
This commit is contained in:
marco candrian 2008-01-07 04:52:03 +01:00 committed by Julien Danjou
parent 58c8912e33
commit 81566ec821
1 changed files with 47 additions and 5 deletions

View File

@ -225,13 +225,40 @@ This widget shows one or more progress-bars.
Set mouse bindings. Set mouse bindings.
*width*:: *width*::
Set width. Set width.
*height*::
Set height (i.e. 0.9 = 90%)
*padding_left*::
Empty space on the left.
*bar*:: *bar*::
Draws a bar; Options: fg, bg, bcolor. Draws a bar; Options: fg, bg, bordercolor.
*fg*:: *fg*::
Foreground color. Foreground color.
*bg*:: *bg*::
Background color. Background color.
*bcolor*:: *bordercolor*::
Border color.
*x*::
Horizontal offset (auto-alignment if not set).
*y*::
Vertical offset (auto-alignment if not set).
graph
~~~~~
This widget shows a graph.
*mouse*::
Set mouse bindings.
*width*::
Set width.
*height*::
Set height (i.e. 0.9 = 90%)
*padding_left*::
Empty space on the left.
*fg*::
Foreground color.
*bg*::
Background color.
*bordercolor*::
Border color. Border color.
*x*:: *x*::
Horizontal offset (auto-alignment if not set). Horizontal offset (auto-alignment if not set).
@ -248,7 +275,7 @@ EXAMPLES
The general config and subconfig options for the awesomerc: The general config and subconfig options for the awesomerc:
.............................................. ..............................................
Note: when there are no whitespace, quotes are optional. Note: when there is no whitespace, quotes are optional.
<boolean> -> "true" or "false" <boolean> -> "true" or "false"
<color> -> #ff9933 (hexadecimal color notation: #red green blue) <color> -> #ff9933 (hexadecimal color notation: #red green blue)
@ -405,11 +432,26 @@ screen <integer> [MULTI]
} }
progressbar <identifier> [MULTI] progressbar <identifier> [MULTI]
{ {
bar { bcolor = <color> bg = <color> fg = <color> } [MULTI] bar { fg = <color> bg = <color> bordercolor = <color> } [MULTI]
gap = <integer> gap = <integer>
width = <integer> width = <integer>
height = <float> height = <float>
lpadding = <integer> padding_left = <integer>
x = <integer> y = <integer>
mouse [MULTI]
{
button = <integer> modkey = {<mod>, ...}
command = <uicb-cmd> arg = <uicb-arg>
}
}
graph <identifier> [MULTI]
{
width = <integer>
height = <float>
padding_left = <integer>
fg = <color>
bg = <color>
bordercolor = <color>
x = <integer> y = <integer> x = <integer> y = <integer>
mouse [MULTI] mouse [MULTI]
{ {