1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

trigger: add "${tg_displayed}" in conditions of default trigger "beep"

The command of "beep" trigger is now executed only if the message is
displayed (not filtered with /filter).
This commit is contained in:
Sébastien Helleu
2014-09-28 15:34:42 +02:00
parent 0462aec0b4
commit 89c2187024
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
{ "beep", "on",
"print",
"",
"${tg_highlight} || ${tg_msg_pv}",
"${tg_displayed) && (${tg_highlight} || ${tg_msg_pv})",
"",
"/print -beep",
"ok" },