about summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2011-09-08 12:35:33 +0000
committerokan <okan>2011-09-08 12:35:33 +0000
commit82d31aec1d380bc53a1ccfdabe81e37d9b7213c2 (patch)
treefc9397efe088ac08537cd645464ce6e94c74c4c4 /conf.c
parenta262f8e80cb02238e7b01fde8faf4085115acd1c (diff)
downloadcwm-82d31aec1d380bc53a1ccfdabe81e37d9b7213c2.tar.gz
cwm-82d31aec1d380bc53a1ccfdabe81e37d9b7213c2.tar.xz
cwm-82d31aec1d380bc53a1ccfdabe81e37d9b7213c2.zip
allow configurable menu font color; from Alexander Polakov with a tweak
from me.

ok oga@
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index e2263b0..e8cd157 100644
--- a/conf.c
+++ b/conf.c
@@ -62,6 +62,7 @@ conf_gap(struct conf *c, struct screen_ctx *sc)
 void
 conf_font(struct conf *c, struct screen_ctx *sc)
 {
+	font_init(sc, c->color[CWM_COLOR_FONT].name);
 	sc->font = font_make(sc, c->font);
 }
 
@@ -72,6 +73,7 @@ static struct color color_binds[] = {
 	{ "red",	0 }, /* CWM_COLOR_BORDOR_UNGROUP */
 	{ "black",	0 }, /* CWM_COLOR_FG_MENU */
 	{ "white",	0 }, /* CWM_COLOR_BG_MENU */
+	{ "black",	0 }, /* CWM_COLOR_FONT */
 };
 
 void