expose both the bold and dim foreground colors
This commit is contained in:
parent
169d970ad1
commit
cdc4ad4433
12
termite.c
12
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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue