diff --git a/common/configopts.c b/common/configopts.c index a1ac2058..05810239 100644 --- a/common/configopts.c +++ b/common/configopts.c @@ -178,7 +178,7 @@ cfg_opt_t widget_graph_data_opts[] = CFG_STR((char *) "fg_center", (char *) NULL, CFGF_NONE), CFG_STR((char *) "fg_end", (char *) NULL, CFGF_NONE), CFG_BOOL((char *) "vertical_gradient", cfg_false, CFGF_NONE), - CFG_STR((char *) "style", (char *) "bottom", CFGF_NONE), + CFG_STR((char *) "draw_style", (char *) "bottom", CFGF_NONE), CFG_AWESOME_END() }; cfg_opt_t widget_graph_opts[] = diff --git a/widgets/graph.c b/widgets/graph.c index af6d0026..5e41da9e 100644 --- a/widgets/graph.c +++ b/widgets/graph.c @@ -465,7 +465,7 @@ graph_new(Statusbar *statusbar, cfg_t *config) /* filter each style-typ into it's own array (for easy looping later)*/ - if ((type = cfg_getstr(cfg, "style"))) + if ((type = cfg_getstr(cfg, "draw_style"))) { if(!a_strncmp(type, "bottom", sizeof("bottom"))) {