[wmfs] Remove backround color support
This commit is contained in:
parent
e77173b8b0
commit
0d94df6286
2
config.c
2
config.c
@ -167,7 +167,6 @@ init_conf(void)
|
||||
|
||||
static cfg_opt_t colors_opts[] =
|
||||
{
|
||||
CFG_STR("background", "#090909", CFGF_NONE),
|
||||
CFG_STR("border_normal", "#354B5C", CFGF_NONE),
|
||||
CFG_STR("border_focus", "#6286A1", CFGF_NONE),
|
||||
CFG_STR("bar_bg", "#090909", CFGF_NONE),
|
||||
@ -336,7 +335,6 @@ init_conf(void)
|
||||
conf.bartop = (strcmp(strdup(cfg_getstr(cfg_misc, "bar_position")), "top") == 0) ? True : False;
|
||||
|
||||
/* colors */
|
||||
conf.colors.background = getcolor(var_to_str(cfg_getstr(cfg_colors, "background")));
|
||||
conf.colors.bordernormal = getcolor(var_to_str(cfg_getstr(cfg_colors, "border_normal")));
|
||||
conf.colors.borderfocus = getcolor(var_to_str(cfg_getstr(cfg_colors, "border_focus")));
|
||||
conf.colors.bar = getcolor(var_to_str(cfg_getstr(cfg_colors, "bar_bg")));
|
||||
|
||||
3
wmfs.c
3
wmfs.c
@ -390,7 +390,6 @@ init(void)
|
||||
EnterWindowMask | LeaveWindowMask | StructureNotifyMask ;
|
||||
at.cursor = cursor[CurNormal];
|
||||
XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &at);
|
||||
XSetWindowBackground(dpy, root, conf.colors.background);
|
||||
|
||||
/* INIT BAR / BUTTON */
|
||||
bary = (conf.bartop) ? 0 : mh - barheight;
|
||||
@ -1032,6 +1031,6 @@ main(int argc, char **argv)
|
||||
|
||||
XCloseDisplay(dpy);
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
1
wmfs.h
1
wmfs.h
@ -158,7 +158,6 @@ typedef struct
|
||||
{
|
||||
/* Only the colors will be use for text
|
||||
* are 'char*' (for xprint -> XftColorAllocName) */
|
||||
uint background;
|
||||
uint bordernormal;
|
||||
uint borderfocus;
|
||||
uint bar;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user