aboutsummaryrefslogtreecommitdiff
path: root/.weechat/trigger.conf
diff options
context:
space:
mode:
Diffstat (limited to '.weechat/trigger.conf')
-rw-r--r--.weechat/trigger.conf20
1 files changed, 9 insertions, 11 deletions
diff --git a/.weechat/trigger.conf b/.weechat/trigger.conf
index e7fc7c5..b7daf6b 100644
--- a/.weechat/trigger.conf
+++ b/.weechat/trigger.conf
@@ -6,7 +6,7 @@
#
# Use commands like /set or /fset to change settings in WeeChat.
#
-# For more info, see: https://weechat.org/doc/quickstart/
+# For more info, see: https://weechat.org/doc/weechat/quickstart/
#
[look]
@@ -22,8 +22,6 @@ flag_return_code = lightmagenta
identifier = cyan
regex = white
replace = cyan
-trigger = green
-trigger_disabled = red
[trigger]
beep.arguments = ""
@@ -92,7 +90,7 @@ msg_auth.regex = "==^(.*(id|identify|set +password|register|ghost +[^ ]+|release
msg_auth.return_code = ok
notify_highlight.arguments = ""
notify_highlight.command = "/exec -norc -nosw -bg ntfy pub -p 3 -T "speech_balloon" -t "${buffer.full_name}" -m "${tg_message}" chat"
-notify_highlight.conditions = "${tg_highlight} && ${buffer.notify} > 0"
+notify_highlight.conditions = "${tg_highlight} && ${buffer.notify} > 0 && ${tg_prefix_nocolor} !~ ^[[:space:]]+$"
notify_highlight.enabled = on
notify_highlight.hook = print
notify_highlight.post_action = none
@@ -104,23 +102,23 @@ notify_privmsg.conditions = "${tg_tag_notify} == private && ${buffer.notify} > 0
notify_privmsg.enabled = on
notify_privmsg.hook = print
notify_privmsg.post_action = none
-notify_privmsg.regex = "/.*/${weechat.look.nick_prefix}${tg_prefix_nocolor}${weechat.look.nick_suffix} ${tg_message_nocolor}/"
+notify_privmsg.regex = "/.*/${tg_message_nocolor}/"
notify_privmsg.return_code = ok
notify_xxllnc_help-platform-xcp.arguments = ""
-notify_xxllnc_help-platform-xcp.command = "/exec -norc -nosw -bg ntfy pub -p 3 -T "speech_balloon" -t "${buffer.full_name}" -m "${tg_message}" chat"
-notify_xxllnc_help-platform-xcp.conditions = "${tg_buffer} == "python.slack.exxellencehq.&team-xcp""
+notify_xxllnc_help-platform-xcp.command = "/exec -norc -nosw -bg ntfy pub -p 5 -T "right_anger_bubble" -t "${buffer.full_name}" -m "${tg_message}" chat"
+notify_xxllnc_help-platform-xcp.conditions = "${buffer.full_name} == python.slack.exxellencehq.#help-platform-xcp"
notify_xxllnc_help-platform-xcp.enabled = on
notify_xxllnc_help-platform-xcp.hook = print
notify_xxllnc_help-platform-xcp.post_action = none
-notify_xxllnc_help-platform-xcp.regex = "/.*/${weechat.look.nick_prefix}${tg_prefix_nocolor}${weechat.look.nick_suffix} ${tg_message_nocolor}/"
+notify_xxllnc_help-platform-xcp.regex = "/.*/${tg_prefix_nocolor}: ${tg_message_nocolor}/"
notify_xxllnc_help-platform-xcp.return_code = ok
notify_xxllnc_team-xcp.arguments = ""
-notify_xxllnc_team-xcp.command = "/exec -norc -nosw -bg ntfy pub -p 3 -T "speech_balloon" -t "${buffer.full_name}" -m "${tg_message}" chat"
-notify_xxllnc_team-xcp.conditions = "${tg_buffer} == "python.slack.exxellencehq.&team-xcp""
+notify_xxllnc_team-xcp.command = "/exec -norc -nosw -bg ntfy pub -p 5 -T "right_anger_bubble" -t "${buffer.full_name}" -m "${tg_message}" chat"
+notify_xxllnc_team-xcp.conditions = "${buffer.full_name} == python.slack.exxellencehq.&team-xcp && ${tg_prefix_nocolor} != patrick.spek"
notify_xxllnc_team-xcp.enabled = on
notify_xxllnc_team-xcp.hook = print
notify_xxllnc_team-xcp.post_action = none
-notify_xxllnc_team-xcp.regex = "/.*/${weechat.look.nick_prefix}${tg_prefix_nocolor}${weechat.look.nick_suffix} ${tg_message_nocolor}/"
+notify_xxllnc_team-xcp.regex = "/.*/${tg_prefix_nocolor}: ${tg_message_nocolor}/"
notify_xxllnc_team-xcp.return_code = ok
relaybot_libera_scriptkitties_gizmo.arguments = "weechat_print"
relaybot_libera_scriptkitties_gizmo.command = ""