Browse Source

Updated weeslack and moved weemoji

ansible
Micah Halter 4 months ago
parent
commit
62ed730c21

+ 1
- 0
weechat/.weechat/exec.conf View File

@@ -12,6 +12,7 @@
12 12
 [command]
13 13
 default_options = ""
14 14
 purge_delay = 0
15
+shell = "sh"
15 16
 
16 17
 [color]
17 18
 flag_finished = lightred

+ 25
- 1
weechat/.weechat/plugins.conf View File

@@ -29,27 +29,39 @@ python.go.message = "Go to: "
29 29
 python.go.short_name = "off"
30 30
 python.go.sort = "number,beginning"
31 31
 python.go.use_core_instead_weechat = "off"
32
+python.slack.auto_open_threads = "false"
32 33
 python.slack.background_load_all_history = "false"
33 34
 python.slack.channel_name_typing_indicator = "true"
35
+python.slack.color_buflist_muted_channels = "darkgray"
36
+python.slack.color_edited_suffix = "095"
37
+python.slack.color_reaction_suffix = "darkgray"
38
+python.slack.color_thread_suffix = "lightcyan"
34 39
 python.slack.colorize_private_chats = "false"
35 40
 python.slack.debug_level = "3"
36 41
 python.slack.debug_mode = "false"
37 42
 python.slack.distracting_channels = ""
43
+python.slack.external_user_suffix = "*"
44
+python.slack.files_download_location = ""
38 45
 python.slack.group_name_prefix = "&"
39 46
 python.slack.map_underline_to = "_"
40 47
 python.slack.migrated = "true"
48
+python.slack.muted_channels_activity = "personal_highlights"
41 49
 python.slack.never_away = "false"
42 50
 python.slack.record_events = "false"
43 51
 python.slack.render_bold_as = "bold"
44 52
 python.slack.render_italic_as = "italic"
45 53
 python.slack.send_typing_notice = "true"
46 54
 python.slack.server_aliases = ""
55
+python.slack.shared_name_prefix = "%"
47 56
 python.slack.short_buffer_names = "false"
57
+python.slack.show_buflist_presence = "true"
48 58
 python.slack.show_reaction_nicks = "false"
49 59
 python.slack.slack_api_token = "${sec.data.tribetoken},${sec.data.innctoken},${sec.data.juniordesigntoken}"
50 60
 python.slack.slack_timeout = "20000"
51 61
 python.slack.switch_buffer_on_join = "true"
62
+python.slack.thread_messages_in_channel = "false"
52 63
 python.slack.thread_suffix_color = "lightcyan"
64
+python.slack.unfurl_auto_link_display = "both"
53 65
 python.slack.unfurl_ignore_alt_text = "false"
54 66
 python.slack.unhide_buffers_with_activity = "false"
55 67
 python.urlbar.ignore = "grep"
@@ -81,26 +93,38 @@ python.go.message = "message to display before list of buffers (default: "Go to:
81 93
 python.go.short_name = "display and search in short names instead of buffer name (default: "off")"
82 94
 python.go.sort = "comma-separated list of keys to sort buffers (the order is important, sorts are performed in the given order): name = sort by name (or short name),  (default: "number,beginning")"
83 95
 python.go.use_core_instead_weechat = "use name "core" instead of "weechat" for core buffer (default: "off")"
96
+python.slack.auto_open_threads = "Automatically open threads when mentioned or inresponse to own messages."
84 97
 python.slack.background_load_all_history = "Load history for each channel in the background as soon as it opens, rather than waiting for the user to look at it."
85 98
 python.slack.channel_name_typing_indicator = "Change the prefix of a channel from # to > when someone is typing in it. Note that this will (temporarily) affect the sort order if you sort buffers by name rather than by number."
99
+python.slack.color_buflist_muted_channels = "Color to use for muted channels in the buflist"
100
+python.slack.color_edited_suffix = "Color to use for (edited) suffix on messages that have been edited."
101
+python.slack.color_reaction_suffix = "Color to use for the [:wave:(@user)] suffix on messages that have reactions attached to them."
102
+python.slack.color_thread_suffix = "Color to use for the [thread: XXX] suffix on messages that have threads attached to them."
86 103
 python.slack.colorize_private_chats = "Whether to use nick-colors in DM windows."
87 104
 python.slack.debug_level = "Show only this level of debug info (or higher) when debug_mode is on. Lower levels -> more messages."
88 105
 python.slack.debug_mode = "Open a dedicated buffer for debug messages and start logging to it. How verbose the logging is depends on log_level."
89 106
 python.slack.distracting_channels = "List of channels to hide."
107
+python.slack.external_user_suffix = "The suffix appended to nicks to indicate external users."
108
+python.slack.files_download_location = "If set, file attachments will be automatically downloaded to this location."
90 109
 python.slack.group_name_prefix = "The prefix of buffer names for groups (private channels)."
91 110
 python.slack.map_underline_to = "When sending underlined text to slack, use this formatting character for it. The default ("_") sends it as italics. Use "*" to send bold instead."
111
+python.slack.muted_channels_activity = "Control which activity you see from muted channels, either none, personal_highlights, all_highlights or all. none: Don't show any activity. personal_highlights: Only show personal highlights, i.e. not @channel and @here. all_highlights: Show all highlights, but not other messages. all: Show all activity, like other channels."
92 112
 python.slack.never_away = "Poke Slack every five minutes so that it never marks you "away"."
93 113
 python.slack.record_events = "Log all traffic from Slack to disk as JSON."
94 114
 python.slack.render_bold_as = "When receiving bold text from Slack, render it as this in weechat."
95 115
 python.slack.render_italic_as = "When receiving bold text from Slack, render it as this in weechat. If your terminal lacks italic support, consider using "underline" instead."
96 116
 python.slack.send_typing_notice = "Alert Slack users when you are typing a message in the input bar (Requires reload)"
97 117
 python.slack.server_aliases = "A comma separated list of `subdomain:alias` pairs. The alias will be used instead of the actual name of the slack (in buffer names, logging, etc). E.g `work:no_fun_allowed` would make your work slack show up as `no_fun_allowed` rather than `work.slack.com`."
98
-python.slack.short_buffer_names = "Use `foo.#channel` rather than `foo.slack.com.#channel` as the internal name for Slack buffers. Overrides server_aliases."
118
+python.slack.shared_name_prefix = "The prefix of buffer names for shared channels."
119
+python.slack.short_buffer_names = "Use `foo.#channel` rather than `foo.slack.com.#channel` as the internal name for Slack buffers."
120
+python.slack.show_buflist_presence = "Display a `+` character in the buffer list for present users."
99 121
 python.slack.show_reaction_nicks = "Display the name of the reacting user(s) alongside each reactji."
100 122
 python.slack.slack_api_token = "List of Slack API tokens, one per Slack instance you want to connect to. See the README for details on how to get these."
101 123
 python.slack.slack_timeout = "How long (ms) to wait when communicating with Slack."
102 124
 python.slack.switch_buffer_on_join = "When /joining a channel, automatically switch to it as well."
125
+python.slack.thread_messages_in_channel = "When enabled shows thread messages in the parent channel."
103 126
 python.slack.thread_suffix_color = "Color to use for the [thread: XXX] suffix on messages that have threads attached to them."
127
+python.slack.unfurl_auto_link_display = "When displaying ("unfurling") links to channels/users/etc, determine what is displayed when the text matches the url without the protocol. This happens when Slack automatically creates links, e.g. from words separated by dots or email addresses. Set it to "text" to only display the text written by the user, "url" to only display the url or "both" (the default) to display both."
104 128
 python.slack.unfurl_ignore_alt_text = "When displaying ("unfurling") links to channels/users/etc, ignore the "alt text" present in the message and instead use the canonical name of the thing being linked to."
105 129
 python.slack.unhide_buffers_with_activity = "When activity occurs on a buffer, unhide it even if it was previously hidden (whether by the user or by the distracting_channels setting)."
106 130
 python.vimode.no_warn = "don't warn about problematickeybindings and tmux/screen (default: "off")"

+ 0
- 89
weechat/.weechat/python/autoload/weemoji.py
File diff suppressed because it is too large
View File


+ 1
- 0
weechat/.weechat/python/autoload/weemoji.py View File

@@ -0,0 +1 @@
1
+../weemoji.py

+ 1543
- 797
weechat/.weechat/python/wee_slack.py
File diff suppressed because it is too large
View File


+ 89
- 0
weechat/.weechat/python/weemoji.py
File diff suppressed because it is too large
View File


+ 2
- 0
weechat/.weechat/relay.conf View File

@@ -35,6 +35,8 @@ max_clients = 5
35 35
 password = ""
36 36
 ssl_cert_key = "%h/ssl/relay.pem"
37 37
 ssl_priorities = "NORMAL:-VERS-SSL3.0"
38
+totp_secret = ""
39
+totp_window = 0
38 40
 websocket_allowed_origins = ""
39 41
 
40 42
 [irc]

BIN
weechat/.weechat/script/plugins.xml.gz View File


+ 4
- 4
weechat/.weechat/sec.conf View File

@@ -17,7 +17,7 @@ salt = on
17 17
 
18 18
 [data]
19 19
 __passphrase__ = on
20
-tribetoken = "12F7E6051C66A6EB5E990D1C2DCCC267231E92BBCA71494E8F8FA61BA58E3611708D2A16DB9D9BF6A328294F507F6F17C1ACF7F73050E33E4A24F34714C44D899CE953D6E74F06DD42ADDE07BDF7B77C121A403C02B9EB71C2D2334774F805826B7D8AA4049BFFC14700952DF051B1A028E08BC5F0"
21
-juniordesigntoken = "562FDC31554E88E5C325872BF79F28CC792A723AEDFB975199072766CA28D6F4244BF425F7805B3E0261D2A0F58F42808CF8D16ADED2DB69D7AD69C3D6E5F28B7133843F5B42E8338DFA10FB2FA126D315286BFBA8290D07A79448C9681C2B9445FC2B3324F4EDADA8DB3E03C2561DD9AB6521A080"
22
-slackapi = "234E68DCF69FF0EAEEA56B11B496C8DA7C42D67C5AB2E286C04C1362665DBE0A3730870EF62B191A27AB6A83C5D782238DBE44C7EB78D7E7EAD2459E3249E005014402B6877B4B6753C5C460EAA2B7EA71648F239B92D4F9B81FE97682DFAB86362ABFD49406EBA0A29982D857D145D6E9CF507285"
23
-innctoken = "8EE22C6A01560B7673F2B0517FA9ACDCBCA3A6CF2C2A26ADFE96EA510C0E249E36B6CB379BD2A8199ADA2508BF104897D85D391A07B00AD8B60C15E8AE5ED5F8339348459D57388BBF7F5354A3826C5CA0017678853DCCEBA0369B8E79222A0652708408EF0669D758FF5BB6367819115762DB"
20
+tribetoken = "0A9AB06FA2498445F1D5DC0BCBAD7DDFBE23459B7D484561099BDCEFFCDABF95483B39D2FB1D9345C18F5A4A9D170270225B9D80A7EA8B99948D614FD3B197BC80C9CD752A718E8896B4FF33DD89DE1B0DD76AF084572B248770C9BD37382F31683586CF56760E803DEA58462F515B99BE39500A94"
21
+juniordesigntoken = "069791C46C891B8C421AFD96CDFCCDD3FDB4975FDEA311B0399A17CA6B1991B25860B737795FC8D7FB2B1EB7EE5D71DC88B2FE6883C037D8A647C2C8CCBB3307FA7EECC57430FA964E7721AE11EE2218A9517C44AA736FCA2D85FEE4A0114A276600338E703A2E0C2C366FD07D7FFD7A37F6BE6BD4"
22
+slackapi = "6A1279DCB1FB2B9C7E45322FC4EE69B52899C97D124FE0ACE4CCC3DBDAD0DD8621CF80DD275F569311C8E98635545DEEEDD022415A44775FE689E0D1596FE8950846FD67CD24455EEBB70C56E05AEE0A2DD51A488A3CB42C0D94BA0831D2BF6798F4E2A78262E12768E429A96D9B97A1D3EF1C008D"
23
+innctoken = "B76D26760BC46EB37573DF0564EE7DC95FBC0897D1D0933380469FDE08F3C76EF701FAFD986A802267470D8BD4096AC832ADF16838E08F928D0313CF0F8EBCF7C95A62FF8261AADAEE63B4541C2A47FA88A200E209E6FB86377D8333BEF8D5F8386900F62F673A1D7EE7A8F0C85E5B2633F94E"

+ 16
- 0
weechat/.weechat/weechat.conf View File

@@ -434,6 +434,8 @@ ctrl-X = "/input switch_active_buffer"
434 434
 ctrl-Y = "/input clipboard_paste"
435 435
 meta-meta-OP = "/bar scroll buflist * b"
436 436
 meta-meta-OQ = "/bar scroll buflist * e"
437
+meta-meta2-11~ = "/bar scroll buflist * b"
438
+meta-meta2-12~ = "/bar scroll buflist * e"
437 439
 meta-meta2-1~ = "/window scroll_top"
438 440
 meta-meta2-23~ = "/bar scroll nicklist * b"
439 441
 meta-meta2-24~ = "/bar scroll nicklist * e"
@@ -473,6 +475,10 @@ meta-Oa = "/input history_global_previous"
473 475
 meta-Ob = "/input history_global_next"
474 476
 meta-Oc = "/input move_next_word"
475 477
 meta-Od = "/input move_previous_word"
478
+meta2-11^ = "/bar scroll buflist * -100%"
479
+meta2-11~ = "/bar scroll buflist * -100%"
480
+meta2-12^ = "/bar scroll buflist * +100%"
481
+meta2-12~ = "/bar scroll buflist * +100%"
476 482
 meta2-15~ = "/buffer -1"
477 483
 meta2-17~ = "/buffer +1"
478 484
 meta2-18~ = "/window -1"
@@ -483,10 +489,14 @@ meta2-1;3C = "/buffer +1"
483 489
 meta2-1;3D = "/buffer -1"
484 490
 meta2-1;3F = "/window scroll_bottom"
485 491
 meta2-1;3H = "/window scroll_top"
492
+meta2-1;3P = "/bar scroll buflist * b"
493
+meta2-1;3Q = "/bar scroll buflist * e"
486 494
 meta2-1;5A = "/input history_global_previous"
487 495
 meta2-1;5B = "/input history_global_next"
488 496
 meta2-1;5C = "/input move_next_word"
489 497
 meta2-1;5D = "/input move_previous_word"
498
+meta2-1;5P = "/bar scroll buflist * -100%"
499
+meta2-1;5Q = "/bar scroll buflist * +100%"
490 500
 meta2-1~ = "/input move_beginning_of_line"
491 501
 meta2-200~ = "/input paste_start"
492 502
 meta2-201~ = "/input paste_stop"
@@ -671,6 +681,11 @@ meta2-A = "/cursor move up"
671 681
 meta2-B = "/cursor move down"
672 682
 meta2-C = "/cursor move right"
673 683
 meta2-D = "/cursor move left"
684
+@chat(python.*):D = "hsignal:slack_cursor_delete"
685
+@chat(python.*):L = "hsignal:slack_cursor_linkarchive"
686
+@chat(python.*):M = "hsignal:slack_cursor_message"
687
+@chat(python.*):R = "hsignal:slack_cursor_reply"
688
+@chat(python.*):T = "hsignal:slack_cursor_thread"
674 689
 @item(buffer_nicklist):K = "/window ${_window_number};/kickban ${nick}"
675 690
 @item(buffer_nicklist):b = "/window ${_window_number};/ban ${nick}"
676 691
 @item(buffer_nicklist):k = "/window ${_window_number};/kick ${nick}"
@@ -698,6 +713,7 @@ meta2-D = "/cursor move left"
698 713
 @chat(perl.iset):button2* = "hsignal:iset_mouse"
699 714
 @chat(perl.iset):wheeldown = "/repeat 5 /iset **down"
700 715
 @chat(perl.iset):wheelup = "/repeat 5 /iset **up"
716
+@chat(python.*):button2 = "hsignal:slack_mouse"
701 717
 @chat(script.scripts):button1 = "/window ${_window_number};/script go ${_chat_line_y}"
702 718
 @chat(script.scripts):button2 = "/window ${_window_number};/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}"
703 719
 @chat(script.scripts):wheeldown = "/script down 5"

Loading…
Cancel
Save