aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-07-31 00:38:17 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-07-31 00:38:17 +0200
commit42fb5482ca79c30c267986663df255e79d40fb7e (patch)
treea1f119b3258dd5baa4cacfa705051ef63b07e4ea
parent1d59434dfbe2bd3b6db453aa7c0df25ed7dece33 (diff)
downloaddotfiles-42fb5482ca79c30c267986663df255e79d40fb7e.tar.xz
weechat: add {exec,trigger}.conf
-rw-r--r--weechat/exec.conf11
-rw-r--r--weechat/trigger.conf47
2 files changed, 58 insertions, 0 deletions
diff --git a/weechat/exec.conf b/weechat/exec.conf
new file mode 100644
index 0000000..f658ddb
--- /dev/null
+++ b/weechat/exec.conf
@@ -0,0 +1,11 @@
+#
+# exec.conf -- weechat v1.0-rc1
+#
+
+[command]
+default_options = ""
+purge_delay = 0
+
+[color]
+flag_finished = lightred
+flag_running = lightgreen
diff --git a/weechat/trigger.conf b/weechat/trigger.conf
new file mode 100644
index 0000000..91ebedc
--- /dev/null
+++ b/weechat/trigger.conf
@@ -0,0 +1,47 @@
+#
+# trigger.conf -- weechat v1.0-rc1
+#
+
+[look]
+enabled = on
+monitor_strip_colors = off
+
+[color]
+flag_command = lightgreen
+flag_conditions = yellow
+flag_regex = lightcyan
+flag_return_code = lightmagenta
+regex = white
+replace = cyan
+trigger = green
+trigger_disabled = red
+
+[trigger]
+beep.arguments = ""
+beep.command = "/print -beep"
+beep.conditions = "${tg_highlight} || ${tg_msg_pv}"
+beep.enabled = on
+beep.hook = print
+beep.regex = ""
+beep.return_code = ok
+cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth"
+cmd_pass.command = ""
+cmd_pass.conditions = ""
+cmd_pass.enabled = on
+cmd_pass.hook = modifier
+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$.*+"
+cmd_pass.return_code = ok
+msg_auth.arguments = "5000|irc_message_auth"
+msg_auth.command = ""
+msg_auth.conditions = ""
+msg_auth.enabled = on
+msg_auth.hook = modifier
+msg_auth.regex = "==^(.*(id|identify|register|ghost \S+|release \S+) +)(.*)==$1$.*+"
+msg_auth.return_code = ok
+server_pass.arguments = "5000|input_text_display;5000|history_add"
+server_pass.command = ""
+server_pass.conditions = ""
+server_pass.enabled = on
+server_pass.hook = modifier
+server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)(\S+)(.*)==$1$.*4$5"
+server_pass.return_code = ok