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.
|
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*::
|
*bar*::
|
||||||
Draws a bar; Options: fg, bg, bordercolor.
|
Draws a bar; Options: fg, bg, bordercolor.
|
||||||
*fg*::
|
*fg*::
|
||||||
|
@ -264,6 +256,14 @@ This widget shows one or more progress-bars.
|
||||||
Background color.
|
Background color.
|
||||||
*bordercolor*::
|
*bordercolor*::
|
||||||
Border color.
|
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*::
|
*x*::
|
||||||
Horizontal offset (auto-alignment if not set).
|
Horizontal offset (auto-alignment if not set).
|
||||||
*y*::
|
*y*::
|
||||||
|
@ -273,10 +273,16 @@ graph
|
||||||
~~~~~
|
~~~~~
|
||||||
This widget shows a 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*::
|
*scale*::
|
||||||
Re-scales when input > max (see below).
|
Re-scales when input > max (see below).
|
||||||
*max*::
|
*fg*::
|
||||||
This value prints a full graph.
|
Foreground color.
|
||||||
|
*style*::
|
||||||
|
bottom (fills to bottom with fg), top, or line.
|
||||||
*mouse*::
|
*mouse*::
|
||||||
Set mouse bindings.
|
Set mouse bindings.
|
||||||
*width*::
|
*width*::
|
||||||
|
@ -285,8 +291,6 @@ This widget shows a graph.
|
||||||
Set height (i.e. 0.9 = 90%)
|
Set height (i.e. 0.9 = 90%)
|
||||||
*padding_left*::
|
*padding_left*::
|
||||||
Empty space on the left.
|
Empty space on the left.
|
||||||
*fg*::
|
|
||||||
Foreground color.
|
|
||||||
*bg*::
|
*bg*::
|
||||||
Background color.
|
Background color.
|
||||||
*bordercolor*::
|
*bordercolor*::
|
||||||
|
@ -478,12 +482,14 @@ screen <integer> [MULTI]
|
||||||
}
|
}
|
||||||
graph <identifier> [MULTI]
|
graph <identifier> [MULTI]
|
||||||
{
|
{
|
||||||
scale = <boolean>
|
data [MULTI]
|
||||||
max = <float>
|
{
|
||||||
|
scale = <boolean> max = <float> fg = <color>
|
||||||
|
style = <{bottom, top, line}>
|
||||||
|
}
|
||||||
width = <integer>
|
width = <integer>
|
||||||
height = <float>
|
height = <float>
|
||||||
padding_left = <integer>
|
padding_left = <integer>
|
||||||
fg = <color>
|
|
||||||
bg = <color>
|
bg = <color>
|
||||||
bordercolor = <color>
|
bordercolor = <color>
|
||||||
x = <integer> y = <integer>
|
x = <integer> y = <integer>
|
||||||
|
|
Loading…
Reference in New Issue