From cdc4ad443334f69b827bf2a73332b6e2286080a2 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 25 Jun 2012 15:27:21 -0400 Subject: [PATCH] expose both the bold and dim foreground colors --- termite.c | 12 ++++++++---- termite.cfg | 3 ++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/termite.c b/termite.c index 616b47a..584c419 100644 --- a/termite.c +++ b/termite.c @@ -432,14 +432,18 @@ static void load_config(GtkWindow *window, VteTerminal *vte, vte_terminal_set_colors(vte, NULL, NULL, palette, palette_size); } - if (get_config_color(config, "dim", &color)) { - vte_terminal_set_color_dim(vte, &color); - } - if (get_config_color(config, "foreground", &color)) { vte_terminal_set_color_foreground(vte, &color); } + if (get_config_color(config, "foreground_bold", &color)) { + vte_terminal_set_color_bold(vte, &color); + } + + if (get_config_color(config, "foreground_dim", &color)) { + vte_terminal_set_color_dim(vte, &color); + } + if (get_config_color(config, "background", &color)) { vte_terminal_set_color_background(vte, &color); } diff --git a/termite.cfg b/termite.cfg index a154be2..dcf9098 100644 --- a/termite.cfg +++ b/termite.cfg @@ -31,8 +31,9 @@ cursor_shape = BLOCK [colors] foreground = #dcdccc +foreground_bold = #ffffff +#foreground_dim = #888888 background = #3f3f3f -dim = #dcdccc #cursor = #dcdccc # color = normal;bold;dim