From 03743e1f0bb980d3f6b0fdfee53e449e97d333e7 Mon Sep 17 00:00:00 2001 From: marco candrian Date: Fri, 25 Jan 2008 21:38:59 +0100 Subject: [PATCH] Documentation for the new graph options Signed-off-by: Julien Danjou --- awesomerc.1.txt | 154 +++++++++++++++++++++++++----------------------- 1 file changed, 80 insertions(+), 74 deletions(-) diff --git a/awesomerc.1.txt b/awesomerc.1.txt index 036c43c2..74b35216 100644 --- a/awesomerc.1.txt +++ b/awesomerc.1.txt @@ -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*:: @@ -329,22 +333,22 @@ screen [MULTI] general { allow_lower_floats = - border = + border = focus_move_pointer = - font = + font = new_become_master = new_get_focus = - resize_hints = + resize_hints = sloppy_focus = - snap = + snap = } tags - { + { tag [MULTI] - { + { layout = <{dwindle,floating,max, spiral,tile,tileleft,tilebottom,tiletop}> - mwfact = + mwfact = nmaster = } } @@ -356,22 +360,22 @@ screen [MULTI] } colors { - tab_border = + tab_border = normal_fg = - normal_bg = - normal_border = - focus_fg = - focus_bg = + normal_bg = + normal_border = + focus_fg = + focus_bg = focus_border = urgent_fg = urgent_bg = } - padding - { - top = - bottom = - left = - right = + padding + { + top = + bottom = + left = + right = } statusbar [MULTI] { @@ -383,7 +387,7 @@ screen [MULTI] { x = y = mouse [MULTI] - { + { button = modkey = {, ...} command = arg = } @@ -392,8 +396,8 @@ screen [MULTI] { x = y = mouse [MULTI] - { - button = modkey = {, ...} + { + button = modkey = {, ...} command = arg = } } @@ -401,8 +405,8 @@ screen [MULTI] { x = y = mouse [MULTI] - { - button = modkey = {, ...} + { + button = modkey = {, ...} command = arg = } } @@ -414,8 +418,8 @@ screen [MULTI] align = <{center,left,right}> x = y = mouse [MULTI] - { - button = modkey = {, ...} + { + button = modkey = {, ...} command = arg = } } @@ -431,23 +435,23 @@ screen [MULTI] align = <{center,left,right}> x = y = mouse [MULTI] - { + { command = arg = - button = modkey = {, ...} + button = modkey = {, ...} } - } + } textbox [MULTI] { text = - bg = - fg = + bg = + fg = font = width = align = <{center,left,right}> x = y = mouse [MULTI] - { - button = modkey = {, ...} + { + button = modkey = {, ...} command = arg = } } @@ -457,84 +461,86 @@ screen [MULTI] resize = x = y = mouse [MULTI] - { - button = modkey = {, ...} + { + button = modkey = {, ...} command = arg = } } progressbar [MULTI] { bar { fg = bg = bordercolor = } [MULTI] - gap = + gap = width = - height = + height = padding_left = x = y = mouse [MULTI] - { - button = modkey = {, ...} + { + button = modkey = {, ...} command = arg = } } graph [MULTI] { - scale = - max = + data [MULTI] + { + scale = max = fg = + style = <{bottom, top, line}> + } width = height = padding_left = - fg = bg = bordercolor = x = y = mouse [MULTI] - { - button = modkey = {, ...} + { + button = modkey = {, ...} command = arg = } } } } rules -{ - rule [MULTI] - { - name = +{ + rule [MULTI] + { + name = xproperty_name = xproperty_value = float = <{auto,true,false}> tags = - screen = - icon = + screen = + icon = not_master = } } keys { key [MULTI] - { - key = modkey = {, ...} - command = arg = + { + key = modkey = {, ...} + command = arg = } keylist [MULTI] - { - keylist = {, ...} - modkey = {, ...} - command = - arglist = {, ...} + { + keylist = {, ...} + modkey = {, ...} + command = + arglist = {, ...} } } mouse { - client [MULTI] + client [MULTI] { - button = modkey = {, ...} - command = arg = + button = modkey = {, ...} + command = arg = } root [MULTI] { - button = modkey = {, ...} - command = arg = + button = modkey = {, ...} + command = arg = } } ..............................................