From e96ab0829eb028183fb82699f62df4896b4559f5 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 8 Sep 2012 02:59:32 -0400 Subject: [PATCH] add support for setting highlight --- termite.cc | 3 +++ termite.cfg | 3 +++ 2 files changed, 6 insertions(+) diff --git a/termite.cc b/termite.cc index 26ae5fb..7abc94a 100644 --- a/termite.cc +++ b/termite.cc @@ -829,6 +829,9 @@ static void load_config(GtkWindow *window, VteTerminal *vte, config_info *info, if (get_config_color(config, "cursor", &color)) { vte_terminal_set_color_cursor(vte, &color); } + if (get_config_color(config, "highlight", &color)) { + vte_terminal_set_color_highlight(vte, &color); + } } g_free(path); g_key_file_free(config); diff --git a/termite.cfg b/termite.cfg index b9de900..9a1c287 100644 --- a/termite.cfg +++ b/termite.cfg @@ -39,6 +39,9 @@ foreground_bold = #ffffff background = #3f3f3f #cursor = #dcdccc +# if unset, will reverse foreground and background +highlight = #2f2f2f + # colors from color0 to color254 can be set color0 = #3f3f3f color1 = #705050