diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-09 17:01:36 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-09 17:01:36 +0100 |
commit | 75e1c5320e0b286fb842f5e1174b60737400c06b (patch) | |
tree | c5af7a25395d6465f51651b1fafee26cca2a6dc6 /src/plugins/trigger/trigger-config.c | |
parent | 6ab17dfec19b9e8f164eaa64a070dfc1f0d15f14 (diff) | |
download | weechat-75e1c5320e0b286fb842f5e1174b60737400c06b.zip |
trigger: add options trigger.color.flag_{command|conditions|regex|return_code}
Diffstat (limited to 'src/plugins/trigger/trigger-config.c')
-rw-r--r-- | src/plugins/trigger/trigger-config.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/plugins/trigger/trigger-config.c b/src/plugins/trigger/trigger-config.c index 7c7215019..556d1d76a 100644 --- a/src/plugins/trigger/trigger-config.c +++ b/src/plugins/trigger/trigger-config.c @@ -37,6 +37,10 @@ struct t_config_option *trigger_config_look_test; /* trigger config, color section */ +struct t_config_option *trigger_config_color_flag_command; +struct t_config_option *trigger_config_color_flag_conditions; +struct t_config_option *trigger_config_color_flag_regex; +struct t_config_option *trigger_config_color_flag_return_code; struct t_config_option *trigger_config_color_regex; struct t_config_option *trigger_config_color_replace; struct t_config_option *trigger_config_color_trigger; @@ -560,6 +564,30 @@ trigger_config_init () return 0; } + trigger_config_color_flag_command = weechat_config_new_option ( + trigger_config_file, ptr_section, + "flag_command", "color", + N_("text color for command flag (in /trigger list)"), + NULL, 0, 0, "lightgreen", NULL, 0, + NULL, NULL, NULL, NULL, NULL, NULL); + trigger_config_color_flag_conditions = weechat_config_new_option ( + trigger_config_file, ptr_section, + "flag_conditions", "color", + N_("text color for conditions flag (in /trigger list)"), + NULL, 0, 0, "yellow", NULL, 0, + NULL, NULL, NULL, NULL, NULL, NULL); + trigger_config_color_flag_regex = weechat_config_new_option ( + trigger_config_file, ptr_section, + "flag_regex", "color", + N_("text color for regex flag (in /trigger list)"), + NULL, 0, 0, "lightcyan", NULL, 0, + NULL, NULL, NULL, NULL, NULL, NULL); + trigger_config_color_flag_return_code = weechat_config_new_option ( + trigger_config_file, ptr_section, + "flag_return_code", "color", + N_("text color for return code flag (in /trigger list)"), + NULL, 0, 0, "lightmagenta", NULL, 0, + NULL, NULL, NULL, NULL, NULL, NULL); trigger_config_color_regex = weechat_config_new_option ( trigger_config_file, ptr_section, "regex", "color", |