rename align to text_align
This commit is contained in:
parent
170ed9882a
commit
91f80b251c
|
@ -180,7 +180,7 @@ This widget shows a list of running windows.
|
|||
Background color for focused window.
|
||||
*focus_fg*::
|
||||
Foreground color for focused window.
|
||||
*align*::
|
||||
*text_align*::
|
||||
Text alignement.
|
||||
*show_icons*::
|
||||
Show applications icons.
|
||||
|
@ -207,7 +207,7 @@ This widget shows a text.
|
|||
Set width.
|
||||
*text*::
|
||||
Text to change.
|
||||
*align*::
|
||||
*text_align*::
|
||||
Text alignement.
|
||||
*x*::
|
||||
Horizontal offset (auto-alignment if not set).
|
||||
|
|
|
@ -100,7 +100,7 @@ cfg_opt_t widget_textbox_opts[] =
|
|||
CFG_STR((char *) "fg", (char *) NULL, CFGF_NONE),
|
||||
CFG_STR((char *) "bg", (char *) NULL, CFGF_NONE),
|
||||
CFG_STR((char *) "font", (char *) NULL, CFGF_NONE),
|
||||
CFG_STR((char *) "align", (char *) "center", CFGF_NONE),
|
||||
CFG_STR((char *) "text_align", (char *) "center", CFGF_NONE),
|
||||
CFG_END()
|
||||
};
|
||||
cfg_opt_t widget_tasklist_opts[] =
|
||||
|
@ -113,7 +113,7 @@ cfg_opt_t widget_tasklist_opts[] =
|
|||
CFG_STR((char *) "focus_fg", (char *) NULL, CFGF_NONE),
|
||||
CFG_STR((char *) "focus_bg", (char *) NULL, CFGF_NONE),
|
||||
CFG_STR((char *) "font", (char *) NULL, CFGF_NONE),
|
||||
CFG_STR((char *) "align", (char *) "left", CFGF_NONE),
|
||||
CFG_STR((char *) "text_align", (char *) "left", CFGF_NONE),
|
||||
CFG_STR((char *) "show", (char *) "tags", CFGF_NONE),
|
||||
CFG_BOOL((char *) "show_icons", cfg_true, CFGF_NONE),
|
||||
CFG_END()
|
||||
|
|
|
@ -296,7 +296,7 @@ tasklist_new(Statusbar *statusbar, cfg_t *config)
|
|||
else
|
||||
d->fg_sel = globalconf.screens[statusbar->screen].colors_selected[ColFG];
|
||||
|
||||
d->align = draw_get_align(cfg_getstr(config, "align"));
|
||||
d->align = draw_get_align(cfg_getstr(config, "text_align"));
|
||||
d->show_icons = cfg_getbool(config, "show_icons");
|
||||
|
||||
buf = cfg_getstr(config, "show");
|
||||
|
|
|
@ -118,7 +118,7 @@ textbox_new(Statusbar *statusbar, cfg_t *config)
|
|||
d->bg = globalconf.screens[statusbar->screen].colors_normal[ColBG];
|
||||
|
||||
d->width = cfg_getint(config, "width");
|
||||
d->align = draw_get_align(cfg_getstr(config, "align"));
|
||||
d->align = draw_get_align(cfg_getstr(config, "text_align"));
|
||||
|
||||
if((buf = cfg_getstr(config, "font")))
|
||||
w->font = XftFontOpenName(globalconf.display, get_phys_screen(statusbar->screen), buf);
|
||||
|
|
Loading…
Reference in New Issue