diff options
Diffstat (limited to 'weechat/.weechat/trigger.conf')
-rw-r--r-- | weechat/.weechat/trigger.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/weechat/.weechat/trigger.conf b/weechat/.weechat/trigger.conf index fbff88e..6e0796e 100644 --- a/weechat/.weechat/trigger.conf +++ b/weechat/.weechat/trigger.conf @@ -57,6 +57,30 @@ msg_auth.hook = modifier msg_auth.post_action = none msg_auth.regex = "==^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+) +)(.*)==${re:1}${hide:*,${re:+}}" msg_auth.return_code = ok +pong.arguments = "" +pong.command = "pong" +pong.conditions = "${type} == private && ${tg_message} == ping" +pong.enabled = on +pong.hook = print +pong.post_action = none +pong.regex = "" +pong.return_code = ok +resize_big.arguments = "signal_sigwinch" +resize_big.command = "/bar show nicklist" +resize_big.conditions = "${info:term_width} >= 100" +resize_big.enabled = on +resize_big.hook = signal +resize_big.post_action = none +resize_big.regex = "" +resize_big.return_code = ok +resize_small.arguments = "signal_sigwinch" +resize_small.command = "/bar hide nicklist" +resize_small.conditions = "${info:term_width} < 100" +resize_small.enabled = on +resize_small.hook = signal +resize_small.post_action = none +resize_small.regex = "" +resize_small.return_code = ok server_pass.arguments = "5000|input_text_display;5000|history_add" server_pass.command = "" server_pass.conditions = "" @@ -65,3 +89,11 @@ server_pass.hook = modifier server_pass.post_action = none server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==${re:1}${hide:*,${re:4}}${re:5}" server_pass.return_code = ok +url_color.arguments = "weechat_print" +url_color.command = "" +url_color.conditions = "${tg_notify}" +url_color.enabled = on +url_color.hook = modifier +url_color.post_action = none +url_color.regex = "==\S+://\S+==${color:blue}${re:0}${color:reset}==" +url_color.return_code = ok |