mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 17:53:13 +02:00
trigger: add options trigger.color.trigger{_disabled}
This commit is contained in:
@@ -39,6 +39,8 @@ struct t_config_option *trigger_config_look_test;
|
||||
|
||||
struct t_config_option *trigger_config_color_regex;
|
||||
struct t_config_option *trigger_config_color_replace;
|
||||
struct t_config_option *trigger_config_color_trigger;
|
||||
struct t_config_option *trigger_config_color_trigger_disabled;
|
||||
|
||||
|
||||
/*
|
||||
@@ -460,6 +462,18 @@ trigger_config_init ()
|
||||
N_("text color for replacement text (for regular expressions)"),
|
||||
NULL, 0, 0, "cyan", NULL, 0,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
trigger_config_color_trigger = weechat_config_new_option (
|
||||
trigger_config_file, ptr_section,
|
||||
"trigger", "color",
|
||||
N_("text color for trigger name"),
|
||||
NULL, 0, 0, "green", NULL, 0,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
trigger_config_color_trigger_disabled = weechat_config_new_option (
|
||||
trigger_config_file, ptr_section,
|
||||
"trigger_disabled", "color",
|
||||
N_("text color for disabled trigger name"),
|
||||
NULL, 0, 0, "red", NULL, 0,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
/* trigger */
|
||||
ptr_section = weechat_config_new_section (trigger_config_file,
|
||||
|
||||
Reference in New Issue
Block a user