Documentation for the new graph options
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
6f1e1e1abe
commit
03743e1f0b
|
@ -248,14 +248,6 @@ progressbar
|
|||
~~~~~~~~~~~
|
||||
This widget shows one or more progress-bars.
|
||||
|
||||
*mouse*::
|
||||
Set mouse bindings.
|
||||
*width*::
|
||||
Set width.
|
||||
*height*::
|
||||
Set height (i.e. 0.9 = 90%)
|
||||
*padding_left*::
|
||||
Empty space on the left.
|
||||
*bar*::
|
||||
Draws a bar; Options: fg, bg, bordercolor.
|
||||
*fg*::
|
||||
|
@ -264,6 +256,14 @@ This widget shows one or more progress-bars.
|
|||
Background color.
|
||||
*bordercolor*::
|
||||
Border color.
|
||||
*mouse*::
|
||||
Set mouse bindings.
|
||||
*width*::
|
||||
Set width.
|
||||
*height*::
|
||||
Set height (i.e. 0.9 = 90%)
|
||||
*padding_left*::
|
||||
Empty space on the left.
|
||||
*x*::
|
||||
Horizontal offset (auto-alignment if not set).
|
||||
*y*::
|
||||
|
@ -273,10 +273,16 @@ graph
|
|||
~~~~~
|
||||
This widget shows a graph.
|
||||
|
||||
*data*::
|
||||
Defines a data-stream section; Options: max, scale, fg and style.
|
||||
*max*::
|
||||
This value prints a full graph (default = 100)
|
||||
*scale*::
|
||||
Re-scales when input > max (see below).
|
||||
*max*::
|
||||
This value prints a full graph.
|
||||
*fg*::
|
||||
Foreground color.
|
||||
*style*::
|
||||
bottom (fills to bottom with fg), top, or line.
|
||||
*mouse*::
|
||||
Set mouse bindings.
|
||||
*width*::
|
||||
|
@ -285,8 +291,6 @@ This widget shows a graph.
|
|||
Set height (i.e. 0.9 = 90%)
|
||||
*padding_left*::
|
||||
Empty space on the left.
|
||||
*fg*::
|
||||
Foreground color.
|
||||
*bg*::
|
||||
Background color.
|
||||
*bordercolor*::
|
||||
|
@ -478,12 +482,14 @@ screen <integer> [MULTI]
|
|||
}
|
||||
graph <identifier> [MULTI]
|
||||
{
|
||||
scale = <boolean>
|
||||
max = <float>
|
||||
data [MULTI]
|
||||
{
|
||||
scale = <boolean> max = <float> fg = <color>
|
||||
style = <{bottom, top, line}>
|
||||
}
|
||||
width = <integer>
|
||||
height = <float>
|
||||
padding_left = <integer>
|
||||
fg = <color>
|
||||
bg = <color>
|
||||
bordercolor = <color>
|
||||
x = <integer> y = <integer>
|
||||
|
|
Loading…
Reference in New Issue