From 81566ec8217624d102090139a888f22666124d89 Mon Sep 17 00:00:00 2001 From: marco candrian Date: Mon, 7 Jan 2008 04:52:03 +0100 Subject: [PATCH] documentation for the graph-widget also: lpadding to padding_left and bcolor to bordercolor on the progressbar --- awesomerc.1.txt | 52 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 5 deletions(-) diff --git a/awesomerc.1.txt b/awesomerc.1.txt index 7b5043327..9e891f49c 100644 --- a/awesomerc.1.txt +++ b/awesomerc.1.txt @@ -225,13 +225,40 @@ This widget shows one or more progress-bars. 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, bcolor. + Draws a bar; Options: fg, bg, bordercolor. *fg*:: Foreground color. *bg*:: 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. *x*:: Horizontal offset (auto-alignment if not set). @@ -248,7 +275,7 @@ EXAMPLES 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. -> "true" or "false" -> #ff9933 (hexadecimal color notation: #red green blue) @@ -405,11 +432,26 @@ screen [MULTI] } progressbar [MULTI] { - bar { bcolor = bg = fg = } [MULTI] + bar { fg = bg = bordercolor = } [MULTI] gap = width = height = - lpadding = + padding_left = + x = y = + mouse [MULTI] + { + button = modkey = {, ...} + command = arg = + } + } + graph [MULTI] + { + width = + height = + padding_left = + fg = + bg = + bordercolor = x = y = mouse [MULTI] {