]> git.rmz.io Git - dotfiles.git/blob - weechat/trigger.conf
zsh: tick function to wait a while for a task
[dotfiles.git] / 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 commands like /set or /fset to change settings in WeeChat.
8 #
9 # For more info, see: https://weechat.org/doc/weechat/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 identifier = cyan
23 regex = white
24 replace = cyan
25
26 [trigger]
27 beep.arguments = ""
28 beep.command = "/print -beep"
29 beep.conditions = "${tg_highlight} || ${tg_msg_pv}"
30 beep.enabled = on
31 beep.hook = print
32 beep.post_action = none
33 beep.regex = ""
34 beep.return_code = ok
35 cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
36 cmd_pass.command = ""
37 cmd_pass.conditions = ""
38 cmd_pass.enabled = on
39 cmd_pass.hook = modifier
40 cmd_pass.post_action = none
41 cmd_pass.regex = "==^((/(msg|quote) +nickserv +(id|identify|register|ghost +\S+|release +\S+|regain +\S+) +)|/oper +\S+ +|/quote +pass +|/set +\S*password\S* +|/secure +(passphrase|decrypt|set +\S+) +)(.*)==$1$.*+"
42 cmd_pass.return_code = ok
43 msg_auth.arguments = "5000|irc_message_auth"
44 msg_auth.command = ""
45 msg_auth.conditions = ""
46 msg_auth.enabled = on
47 msg_auth.hook = modifier
48 msg_auth.post_action = none
49 msg_auth.regex = "==^(.*(id|identify|register|ghost +\S+|release +\S+) +)(.*)==$1$.*+"
50 msg_auth.return_code = ok
51 server_pass.arguments = "5000|input_text_display;5000|history_add"
52 server_pass.command = ""
53 server_pass.conditions = ""
54 server_pass.enabled = on
55 server_pass.hook = modifier
56 server_pass.post_action = none
57 server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)(\S+)(.*)==$1$.*4$5"
58 server_pass.return_code = ok