summaryrefslogtreecommitdiff
path: root/src/plugins/trigger/trigger-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/trigger/trigger-config.c')
-rw-r--r--src/plugins/trigger/trigger-config.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/trigger/trigger-config.c b/src/plugins/trigger/trigger-config.c
index 83dcaa327..2bd8e3ca7 100644
--- a/src/plugins/trigger/trigger-config.c
+++ b/src/plugins/trigger/trigger-config.c
@@ -54,6 +54,8 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
* beep on highlight/private message, on following conditions:
* - message is displayed (not filtered)
* AND:
+ * - message does not have tag "notify_none"
+ * AND:
* - message is a highlight
* OR:
* - message is a message in a private buffer
@@ -61,7 +63,8 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
{ "beep", "on",
"print",
"",
- "${tg_displayed} && (${tg_highlight} || ${tg_msg_pv})",
+ "${tg_displayed} && ${tg_tags} !!- ,notify_none, "
+ "&& (${tg_highlight} || ${tg_msg_pv})",
"",
"/print -beep",
"ok",