diff --git a/awesomerc.1.txt b/awesomerc.1.txt index 1ab129f3..f823778e 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 2cd6725f..6c53d656 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;