From a28f931d086228f733d5d42dcb1b7da66362a37d Mon Sep 17 00:00:00 2001 From: marco candrian Date: Tue, 5 Feb 2008 12:03:05 +0100 Subject: [PATCH] awesomerc(1) update for progressbar widget option fg_half Signed-off-by: Julien Danjou --- awesomerc.1.txt | 6 +++++- widgets/progressbar.c | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/awesomerc.1.txt b/awesomerc.1.txt index 1ab129f33..f823778ea 100644 --- a/awesomerc.1.txt +++ b/awesomerc.1.txt @@ -470,7 +470,11 @@ screen [MULTI] } progressbar [MULTI] { - bar { fg = fg_full = bg = bordercolor = } [MULTI] + bar [MULTI] + { + fg = fg_full = fg_half = + bg = bordercolor = + } gap = width = height = diff --git a/widgets/progressbar.c b/widgets/progressbar.c index 2cd6725ff..6c53d656d 100644 --- a/widgets/progressbar.c +++ b/widgets/progressbar.c @@ -143,7 +143,6 @@ progressbar_new(Statusbar *statusbar, cfg_t *config) int i, phys_screen = get_phys_screen(statusbar->screen); cfg_t *cfg; - w = p_new(Widget, 1); widget_common_new(w, statusbar, config); w->draw = progressbar_draw;