From 90e607b6a3756619c5935396591f0b343a46e773 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 7 Jan 2021 10:39:53 +0100 Subject: Include Matrix support in WeeChat --- .weechat/python/matrix | 1 + .weechat/python/matrix.py | 1 + .weechat/python/signal.py | 1 + .weechat/python/slack.py | 1 + .weechat/python/wee_slack.py | 1 - .weechat/weechat.conf | 62 ++++++++++++++++++-------------------------- 6 files changed, 29 insertions(+), 38 deletions(-) create mode 120000 .weechat/python/matrix create mode 120000 .weechat/python/matrix.py create mode 120000 .weechat/python/signal.py create mode 120000 .weechat/python/slack.py delete mode 120000 .weechat/python/wee_slack.py (limited to '.weechat') diff --git a/.weechat/python/matrix b/.weechat/python/matrix new file mode 120000 index 0000000..fcfe38d --- /dev/null +++ b/.weechat/python/matrix @@ -0,0 +1 @@ +../vendor/protocol-matrix/matrix \ No newline at end of file diff --git a/.weechat/python/matrix.py b/.weechat/python/matrix.py new file mode 120000 index 0000000..490a57b --- /dev/null +++ b/.weechat/python/matrix.py @@ -0,0 +1 @@ +../vendor/protocol-matrix/main.py \ No newline at end of file diff --git a/.weechat/python/signal.py b/.weechat/python/signal.py new file mode 120000 index 0000000..3fa05ee --- /dev/null +++ b/.weechat/python/signal.py @@ -0,0 +1 @@ +../vendor/protocol-signal/signal.py \ No newline at end of file diff --git a/.weechat/python/slack.py b/.weechat/python/slack.py new file mode 120000 index 0000000..d92d31f --- /dev/null +++ b/.weechat/python/slack.py @@ -0,0 +1 @@ +../vendor/protocol-slack/wee_slack.py \ No newline at end of file diff --git a/.weechat/python/wee_slack.py b/.weechat/python/wee_slack.py deleted file mode 120000 index 13f5337..0000000 --- a/.weechat/python/wee_slack.py +++ /dev/null @@ -1 +0,0 @@ -../vendor/wee_slack/wee_slack.py \ No newline at end of file diff --git a/.weechat/weechat.conf b/.weechat/weechat.conf index 19c23b8..6a3fafb 100644 --- a/.weechat/weechat.conf +++ b/.weechat/weechat.conf @@ -253,6 +253,7 @@ save_config_on_unload = on [bar] buffers.color_bg = default +buffers.color_bg_inactive = default buffers.color_delim = default buffers.color_fg = default buffers.conditions = "" @@ -267,6 +268,7 @@ buffers.size = 0 buffers.size_max = 20 buffers.type = root buflist.color_bg = default +buflist.color_bg_inactive = default buflist.color_delim = default buflist.color_fg = default buflist.conditions = "" @@ -281,6 +283,7 @@ buflist.size = 0 buflist.size_max = 0 buflist.type = root fset.color_bg = default +fset.color_bg_inactive = default fset.color_delim = cyan fset.color_fg = default fset.conditions = "${buffer.full_name} == fset.fset" @@ -295,6 +298,7 @@ fset.size = 3 fset.size_max = 3 fset.type = window input.color_bg = default +input.color_bg_inactive = default input.color_delim = 8 input.color_fg = 15 input.conditions = "" @@ -309,6 +313,7 @@ input.size = 1 input.size_max = 0 input.type = window nicklist.color_bg = default +nicklist.color_bg_inactive = default nicklist.color_delim = 13 nicklist.color_fg = 2 nicklist.conditions = "nicklist" @@ -323,6 +328,7 @@ nicklist.size = 0 nicklist.size_max = 10 nicklist.type = root ruby-buffers.color_bg = default +ruby-buffers.color_bg_inactive = default ruby-buffers.color_delim = default ruby-buffers.color_fg = default ruby-buffers.conditions = "" @@ -337,6 +343,7 @@ ruby-buffers.size = 0 ruby-buffers.size_max = 20 ruby-buffers.type = root status.color_bg = 8 +status.color_bg_inactive = default status.color_delim = gray status.color_fg = 11 status.conditions = "" @@ -351,6 +358,7 @@ status.size = 1 status.size_max = 0 status.type = window title.color_bg = 8 +title.color_bg_inactive = default title.color_delim = 13 title.color_fg = 6 title.conditions = "" @@ -365,6 +373,7 @@ title.size = 1 title.size_max = 0 title.type = window vi_cmd.color_bg = default +vi_cmd.color_bg_inactive = default vi_cmd.color_delim = default vi_cmd.color_fg = default vi_cmd.conditions = "" @@ -379,6 +388,7 @@ vi_cmd.size = 0 vi_cmd.size_max = 0 vi_cmd.type = root vi_line_numbers.color_bg = default +vi_line_numbers.color_bg_inactive = default vi_line_numbers.color_delim = default vi_line_numbers.color_fg = default vi_line_numbers.conditions = "" @@ -416,17 +426,25 @@ irc.bitlbee.#secretaries = message irc.bitlbee.#supportcenter = message irc.bitlbee.#theladies = message irc.bitlbee.patrick = message +irc.darenet.#computertech = highlight irc.darenet.#DareNET = highlight irc.darenet.#help = message irc.darenet.#nitemare.debug = highlight +irc.freenode.##computertech = highlight +irc.freenode.##eggdrop = highlight irc.freenode.##mahjong = highlight irc.freenode.##t = highlight irc.freenode.#freenode = highlight irc.freenode.#gentoo = highlight irc.freenode.#mageia = highlight irc.freenode.#raku-dev = highlight +irc.freenode.#sqt = message irc.freenode.#zfsonlinux = highlight +irc.oftc.#awesome = highlight irc.rizon.#/g/technology = highlight +irc.technet.#computertech = highlight +irc.technet.#nitemare = highlight +irc.technet.#technet = highlight python.mintlab.slack.com.#bier = all python.mintlab.slack.com.#development = all python.mintlab.slack.com.#devops = all @@ -476,47 +494,11 @@ python.mintlab.slack.com.rudolf = all python.mintlab.slack.com.Slackbot = all python.mintlab.slack.com.wesleys = all python.slack-debug = none -python.slack.mintlab.#bier = all -python.slack.mintlab.#development = all -python.slack.mintlab.#devops = all -python.slack.mintlab.#devops-alerts = all -python.slack.mintlab.#devops-ci = highlight -python.slack.mintlab.#devops-info = all -python.slack.mintlab.#exxellence = all -python.slack.mintlab.#exxellence-intro = all -python.slack.mintlab.#general = all -python.slack.mintlab.#livingroom = all -python.slack.mintlab.#quality_assurance = all -python.slack.mintlab.#release = all -python.slack.mintlab.#secretaries = all -python.slack.mintlab.#supportcenter = all -python.slack.mintlab.&devops-security = all -python.slack.mintlab.&devops-team = all -python.slack.mintlab.&devopsbff = all -python.slack.mintlab.&meems = all -python.slack.mintlab.&patricia = all -python.slack.mintlab.&platform = all -python.slack.mintlab.&storytellers = all -python.slack.mintlab.&theladies = all -python.slack.mintlab.Barnie = all +python.slack.mintlab.#zaaksysteem-commits = highlight python.slack.mintlab.Barnie,Flippy = all -python.slack.mintlab.blessy = all -python.slack.mintlab.Dennis = all -python.slack.mintlab.Flippy = all -python.slack.mintlab.GoogleCalendar = all -python.slack.mintlab.jascha = all -python.slack.mintlab.jos = all python.slack.mintlab.Karly = all -python.slack.mintlab.Laurens = all python.slack.mintlab.marcel = all python.slack.mintlab.marco = all -python.slack.mintlab.Martijn = all -python.slack.mintlab.MichelleVeltman = all -python.slack.mintlab.michiel = all -python.slack.mintlab.Remco = all -python.slack.mintlab.rudolf = all -python.slack.mintlab.Slackbot = all -python.slack.mintlab.wesleys = all [filter] irc_smart = on;*;irc_smart_filter;* @@ -572,6 +554,10 @@ darenet.brandon = on;irc.darenet.*;nick_brandon;* perl.mst = on;irc.perl.*;nick_mst;* freenode.mst = on;irc.freenode.*;nick_mst;* bitlbee.disroot.marmulak = on;irc.bitlbee.#disroot;nick_marmulak;* +rizon.brandon = on;irc.rizon.*;nick_brandon;* +rizon.karma = on;irc.rizon.*;nick_karma;* +rizon.gb.welcome = on;irc.rizon.#ComputerTech;*;Welcome to #computertech +rizon.karma.trigger = on;irc.rizon.#ComputerTech;*;\!jizz [key] ctrl-? = "/input delete_previous_char" @@ -634,6 +620,7 @@ meta-9 = "/buffer *9" meta-< = "/input jump_previously_visited_buffer" meta-= = "/filter toggle" meta-> = "/input jump_next_visited_buffer" +meta-B = "/buflist toggle" meta-OA = "/input history_global_previous" meta-OB = "/input history_global_next" meta-OC = "/input move_next_word" @@ -863,6 +850,7 @@ meta2-D = "/cursor move left" @chat(python.*):M = "hsignal:slack_cursor_message" @chat(python.*):R = "hsignal:slack_cursor_reply" @chat(python.*):T = "hsignal:slack_cursor_thread" +@chat(python.matrix.*):r = "hsignal:matrix_cursor_reply" @item(buffer_nicklist):K = "/window ${_window_number};/kickban ${nick}" @item(buffer_nicklist):b = "/window ${_window_number};/ban ${nick}" @item(buffer_nicklist):k = "/window ${_window_number};/kick ${nick}" -- cgit v1.1