summaryrefslogtreecommitdiff
path: root/doc/pl
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-08-11 09:38:54 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-08-11 09:38:54 +0200
commit737a16b7dea0b62fc4b2909b9831bc0be743a804 (patch)
tree72a09e27fb503c22c8537a3df227b109bcc42710 /doc/pl
parent6140aac57fb7a7870abf65daf07f7c63008d407f (diff)
downloadweechat-737a16b7dea0b62fc4b2909b9831bc0be743a804.zip
doc: fix default conditions of beep trigger (user guide)
Diffstat (limited to 'doc/pl')
-rw-r--r--doc/pl/weechat_user.pl.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc
index 4b3e59dc3..f32c084e4 100644
--- a/doc/pl/weechat_user.pl.adoc
+++ b/doc/pl/weechat_user.pl.adoc
@@ -3603,7 +3603,7 @@ Na przykład, domyślny trigger _beep_ ma następujące opcje:
trigger.trigger.beep.enabled = on
trigger.trigger.beep.hook = print
trigger.trigger.beep.arguments = ""
-trigger.trigger.beep.conditions = "${tg_highlight} || ${tg_msg_pv}"
+trigger.trigger.beep.conditions = "${tg_displayed} && (${tg_highlight} || ${tg_msg_pv})"
trigger.trigger.beep.regex = ""
trigger.trigger.beep.command = "/print -beep"
trigger.trigger.beep.return_code = ok
@@ -3720,7 +3720,7 @@ Przykład: domyślny trigger _beep_ używa tego warunku do wywołania dźwięku
w przypadku podświetlenia lub otrzymania prywatnej wiadomości:
----
-${tg_highlight} || ${tg_msg_pv}
+${tg_displayed} && (${tg_highlight} || ${tg_msg_pv})
----
[[trigger_regex]]