]> git.r.bdr.sh - rbdr/dotfiles/blob - weechat/trigger.conf
Merge branch 'master' of gitlab.com:rbdr/dotfiles
[rbdr/dotfiles] / weechat / trigger.conf
1 #
2 # weechat -- trigger.conf
3 #
4 # WARNING: It is NOT recommended to edit this file by hand,
5 # especially if WeeChat is running.
6 #
7 # Use /set or similar command to change settings in WeeChat.
8 #
9 # For more info, see: https://weechat.org/doc/quickstart
10 #
11
12 [look]
13 enabled = on
14 monitor_strip_colors = off
15
16 [color]
17 flag_command = lightgreen
18 flag_conditions = yellow
19 flag_post_action = lightblue
20 flag_regex = lightcyan
21 flag_return_code = lightmagenta
22 regex = white
23 replace = cyan
24 trigger = green
25 trigger_disabled = red
26
27 [trigger]
28 beep.arguments = ""
29 beep.command = "/print -beep"
30 beep.conditions = "${tg_displayed} && (${tg_highlight} || ${tg_msg_pv})"
31 beep.enabled = on
32 beep.hook = print
33 beep.post_action = none
34 beep.regex = ""
35 beep.return_code = ok
36 cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
37 cmd_pass.command = ""
38 cmd_pass.conditions = ""
39 cmd_pass.enabled = on
40 cmd_pass.hook = modifier
41 cmd_pass.post_action = none
42 cmd_pass.regex = "==^((/(msg|m|quote) +(-server +[^ ]+ +)?nickserv +(id|identify|set +password|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
43 cmd_pass.return_code = ok
44 cmd_pass_register.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
45 cmd_pass_register.command = ""
46 cmd_pass_register.conditions = ""
47 cmd_pass_register.enabled = on
48 cmd_pass_register.hook = modifier
49 cmd_pass_register.post_action = none
50 cmd_pass_register.regex = "==^(/(msg|m|quote) +nickserv +register +)([^ ]+)(.*)==${re:1}${hide:*,${re:3}}${re:4}"
51 cmd_pass_register.return_code = ok
52 msg_auth.arguments = "5000|irc_message_auth"
53 msg_auth.command = ""
54 msg_auth.conditions = ""
55 msg_auth.enabled = on
56 msg_auth.hook = modifier
57 msg_auth.post_action = none
58 msg_auth.regex = "==^(.*(id|identify|set +password|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+|recover +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}"
59 msg_auth.return_code = ok
60 server_pass.arguments = "5000|input_text_display;5000|history_add"
61 server_pass.command = ""
62 server_pass.conditions = ""
63 server_pass.enabled = on
64 server_pass.hook = modifier
65 server_pass.post_action = none
66 server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}"
67 server_pass.return_code = ok