aboutsummaryrefslogtreecommitdiff
path: root/.weechat/trigger.conf
diff options
context:
space:
mode:
Diffstat (limited to '.weechat/trigger.conf')
-rw-r--r--.weechat/trigger.conf37
1 files changed, 34 insertions, 3 deletions
diff --git a/.weechat/trigger.conf b/.weechat/trigger.conf
index 847f8c2..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]
@@ -19,10 +19,9 @@ flag_conditions = yellow
flag_post_action = lightblue
flag_regex = lightcyan
flag_return_code = lightmagenta
+identifier = cyan
regex = white
replace = cyan
-trigger = green
-trigger_disabled = red
[trigger]
beep.arguments = ""
@@ -89,6 +88,38 @@ msg_auth.hook = modifier
msg_auth.post_action = none
msg_auth.regex = "==^(.*(id|identify|set +password|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
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 && ${tg_prefix_nocolor} !~ ^[[:space:]]+$"
+notify_highlight.enabled = on
+notify_highlight.hook = print
+notify_highlight.post_action = none
+notify_highlight.regex = "/.*/${weechat.look.nick_prefix}${tg_prefix_nocolor}${weechat.look.nick_suffix} ${tg_message_nocolor}/"
+notify_highlight.return_code = ok
+notify_privmsg.arguments = ""
+notify_privmsg.command = "/exec -norc -nosw -bg ntfy pub -p 3 -T "speech_balloon" -t "${buffer.full_name}" -m "${tg_message}" chat"
+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 = "/.*/${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 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 = "/.*/${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 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 = "/.*/${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 = ""
relaybot_libera_scriptkitties_gizmo.conditions = "${tg_tag_host} == bot@darkorb.robotham.dev"