From f577517aa54262cf87f4622ef46bea6b65d9b326 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Mon, 10 Jul 2023 16:38:01 +0200 Subject: Update weechat configs --- .weechat/trigger.conf | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to '.weechat/trigger.conf') diff --git a/.weechat/trigger.conf b/.weechat/trigger.conf index 847f8c2..e7fc7c5 100644 --- a/.weechat/trigger.conf +++ b/.weechat/trigger.conf @@ -19,6 +19,7 @@ flag_conditions = yellow flag_post_action = lightblue flag_regex = lightcyan flag_return_code = lightmagenta +identifier = cyan regex = white replace = cyan trigger = green @@ -89,6 +90,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" +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 = "/.*/${weechat.look.nick_prefix}${tg_prefix_nocolor}${weechat.look.nick_suffix} ${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.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.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.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.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" -- cgit v1.1