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.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/trigger/trigger-config.c b/src/plugins/trigger/trigger-config.c
index 3f72a54f5..b29349526 100644
--- a/src/plugins/trigger/trigger-config.c
+++ b/src/plugins/trigger/trigger-config.c
@@ -59,12 +59,16 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
* - message is a highlight
* OR:
* - message is a message in a private buffer
+ * AND:
+ * - buffer notify is NOT "none"
*/
{ "beep", "on",
"print",
"",
- "${tg_displayed} && ${tg_tags} !!- ,notify_none, "
- "&& (${tg_highlight} || ${tg_msg_pv})",
+ "${tg_displayed} "
+ "&& ${tg_tags} !!- ,notify_none, "
+ "&& (${tg_highlight} || ${tg_msg_pv}) "
+ "&& ${buffer.notify} > 0",
"",
"/print -beep",
"ok",