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:
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user