From: Samir Benmendil Date: Wed, 2 Nov 2016 11:21:43 +0000 (+0000) Subject: weechat: add matrix plugin X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/c98ff8ea47598e577c5a23a94efdfb0a6eaf22e9?ds=inline weechat: add matrix plugin --- diff --git a/.gitmodules b/.gitmodules index b21af1a..ae99b77 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "weechat/python/wee-slack"] path = weechat/python/wee-slack url = https://github.com/rawdigits/wee-slack +[submodule "weechat/lua/matrix"] + path = weechat/lua/matrix + url = https://github.com/torhve/weechat-matrix-protocol-script diff --git a/weechat/lua/matrix b/weechat/lua/matrix new file mode 160000 index 0000000..bdaf2d4 --- /dev/null +++ b/weechat/lua/matrix @@ -0,0 +1 @@ +Subproject commit bdaf2d4886c1da68bb134ece7bbd506cfec51637 diff --git a/weechat/plugins.conf b/weechat/plugins.conf index b572980..d640621 100644 --- a/weechat/plugins.conf +++ b/weechat/plugins.conf @@ -6,6 +6,15 @@ fifo.fifo = "on" guile.check_license = "off" lua.check_license = "off" +lua.matrix.autojoin_on_invite = "on" +lua.matrix.backlog_lines = "120" +lua.matrix.debug = "off" +lua.matrix.encrypted_message_color = "lightgreen" +lua.matrix.homeserver_url = "https://matrix.org/" +lua.matrix.local_echo = "on" +lua.matrix.password = "" +lua.matrix.typing_notices = "on" +lua.matrix.user = "" perl.beep.beep_command_dcc = "$bell" perl.beep.beep_command_highlight = "$bell" perl.beep.beep_command_pv = "$bell" @@ -70,6 +79,15 @@ ruby.check_license = "off" tcl.check_license = "off" [desc] +lua.matrix.autojoin_on_invite = "Automatically join rooms you are invited to (default: "on")" +lua.matrix.backlog_lines = "Number of lines to fetch from backlog upon connecting (default: "120")" +lua.matrix.debug = "Print a lot of extra information to help with finding bugs and other problems. (default: "off")" +lua.matrix.encrypted_message_color = "Print encrypted mesages with this color (default: "lightgreen")" +lua.matrix.homeserver_url = "Full URL including port to your homeserver (including trailing slash) or use default matrix.org (default: "https://matrix.org/")" +lua.matrix.local_echo = "Print lines locally instead of waiting for return from server (default: "on")" +lua.matrix.password = "Your homeserver password (default: "")" +lua.matrix.typing_notices = "Send typing notices when you type (default: "on")" +lua.matrix.user = "Your homeserver username (default: "")" perl.beep.beep_command_dcc = "command for beep on dcc, special value "$bell" is allowed, as well as "$bell;command" (default: "$bell")" perl.beep.beep_command_highlight = "command for beep on highlight, special value "$bell" is allowed, as well as "$bell;command" (default: "$bell")" perl.beep.beep_command_pv = "command for beep on private message, special value "$bell" is allowed, as well as "$bell;command" (default: "$bell")"