From 7bde7e618a13883816a73f5372493e1c76f52a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Fri, 19 Apr 2019 15:13:00 +0200 Subject: Change colors and font only via X resources --- window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'window.c') diff --git a/window.c b/window.c index 704a7e0..b41d6c1 100644 --- a/window.c +++ b/window.c @@ -152,11 +152,11 @@ void win_init(win_t *win) if (setlocale(LC_CTYPE, "") == NULL || XSupportsLocale() == 0) error(0, 0, "No locale support"); - f = win_res(e->dpy, RES_CLASS ".font", BAR_FONT); + f = win_res(e->dpy, RES_CLASS ".font", "monospace-8"); win_init_font(e, f); - bg = win_res(e->dpy, RES_CLASS ".background", BG_COLOR); - fg = win_res(e->dpy, RES_CLASS ".foreground", FG_COLOR); + bg = win_res(e->dpy, RES_CLASS ".background", "white"); + fg = win_res(e->dpy, RES_CLASS ".foreground", "black"); win_alloc_color(e, bg, &win->bg); win_alloc_color(e, fg, &win->fg); win_alloc_color(e, "black", &win->black); -- cgit v1.2.3