From 07dfe159c7ed3d00b8437e6852a984b929d7374e Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 29 Nov 2021 13:33:44 -0800 Subject: [PATCH] [weechat] A bunch of new files --- weechat/exec.conf | 1 + weechat/irc.conf | 57 +++++++++++++++++++++++++++++++++++++++++++- weechat/logger.conf | 3 +++ weechat/lua.conf | 14 +++++++++++ weechat/perl.conf | 14 +++++++++++ weechat/python.conf | 14 +++++++++++ weechat/relay.conf | 11 +++++++++ weechat/ruby.conf | 14 +++++++++++ weechat/spell.conf | 33 +++++++++++++++++++++++++ weechat/tcl.conf | 14 +++++++++++ weechat/weechat.conf | 21 ++++++++++++++++ weechat/xfer.conf | 5 +++- 12 files changed, 199 insertions(+), 2 deletions(-) create mode 100644 weechat/lua.conf create mode 100644 weechat/perl.conf create mode 100644 weechat/python.conf create mode 100644 weechat/ruby.conf create mode 100644 weechat/spell.conf create mode 100644 weechat/tcl.conf diff --git a/weechat/exec.conf b/weechat/exec.conf index 519ccc1..9e1b4f1 100644 --- a/weechat/exec.conf +++ b/weechat/exec.conf @@ -12,6 +12,7 @@ [command] default_options = "" purge_delay = 0 +shell = "${env:SHELL}" [color] flag_finished = lightred diff --git a/weechat/irc.conf b/weechat/irc.conf index 0439dcb..da9a1e5 100644 --- a/weechat/irc.conf +++ b/weechat/irc.conf @@ -30,6 +30,7 @@ display_join_message = "329,332,333,366" display_old_topic = on display_pv_away_once = on display_pv_back = on +display_pv_warning_address = off highlight_channel = "$nick" highlight_pv = "$nick" highlight_server = "$nick" @@ -57,6 +58,8 @@ pv_tags = "notify_private" raw_messages = 256 server_buffer = merge_with_core smart_filter = on +smart_filter_account = on +smart_filter_chghost = on smart_filter_delay = 5 smart_filter_join = on smart_filter_join_unmask = 30 @@ -72,11 +75,15 @@ item_channel_modes = default item_lag_counting = default item_lag_finished = yellow item_nick_modes = default +message_account = cyan +message_chghost = brown message_join = green +message_kick = red message_quit = red mirc_remap = "1,-1:darkgray" nick_prefixes = "q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue" notice = green +reason_kick = default reason_quit = default topic_current = default topic_new = white @@ -86,7 +93,6 @@ topic_old = darkgray autoreconnect_delay_growing = 2 autoreconnect_delay_max = 1800 ban_mask_default = "*!$user@$host" -channel_encode = off colors_receive = on colors_send = on lag_check = 60 @@ -119,6 +125,7 @@ autorejoin_delay = 30 away_check = 0 away_check_max_nicks = 25 capabilities = "" +charset_message = message command = "" command_delay = 0 connection_timeout = 60 @@ -139,10 +146,12 @@ sasl_mechanism = plain sasl_password = "" sasl_timeout = 15 sasl_username = "" +split_msg_max_length = 512 ssl = off ssl_cert = "" ssl_dhkey_size = 2048 ssl_fingerprint = "" +ssl_password = "" ssl_priorities = "NORMAL" ssl_verify = on usermode = "" @@ -154,6 +163,7 @@ freenode.proxy freenode.ipv6 = on freenode.ssl = on freenode.ssl_cert +freenode.ssl_password freenode.ssl_priorities freenode.ssl_dhkey_size = 1024 freenode.ssl_fingerprint @@ -189,3 +199,48 @@ freenode.msg_kick freenode.msg_part freenode.msg_quit freenode.notify +freenode.split_msg_max_length +freenode.charset_message +w3c.addresses = "irc.w3.org" +w3c.proxy +w3c.ipv6 +w3c.ssl +w3c.ssl_cert +w3c.ssl_password +w3c.ssl_priorities +w3c.ssl_dhkey_size +w3c.ssl_fingerprint +w3c.ssl_verify +w3c.password +w3c.capabilities +w3c.sasl_mechanism +w3c.sasl_username +w3c.sasl_password +w3c.sasl_key +w3c.sasl_timeout +w3c.sasl_fail +w3c.autoconnect +w3c.autoreconnect +w3c.autoreconnect_delay +w3c.nicks +w3c.nicks_alternate +w3c.username +w3c.realname +w3c.local_hostname +w3c.usermode +w3c.command +w3c.command_delay +w3c.autojoin +w3c.autorejoin +w3c.autorejoin_delay +w3c.connection_timeout +w3c.anti_flood_prio_high +w3c.anti_flood_prio_low +w3c.away_check +w3c.away_check_max_nicks +w3c.msg_kick +w3c.msg_part +w3c.msg_quit +w3c.notify +w3c.split_msg_max_length +w3c.charset_message diff --git a/weechat/logger.conf b/weechat/logger.conf index 09b543e..d0d3218 100644 --- a/weechat/logger.conf +++ b/weechat/logger.conf @@ -11,6 +11,7 @@ [look] backlog = 20 +backlog_conditions = "" [color] backlog_end = default @@ -18,7 +19,9 @@ backlog_line = default [file] auto_log = on +color_lines = off flush_delay = 120 +fsync = off info_lines = off mask = "$plugin.$name.weechatlog" name_lower_case = on diff --git a/weechat/lua.conf b/weechat/lua.conf new file mode 100644 index 0000000..fa4966b --- /dev/null +++ b/weechat/lua.conf @@ -0,0 +1,14 @@ +# +# weechat -- lua.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[look] +check_license = off +eval_keep_context = on diff --git a/weechat/perl.conf b/weechat/perl.conf new file mode 100644 index 0000000..31924b9 --- /dev/null +++ b/weechat/perl.conf @@ -0,0 +1,14 @@ +# +# weechat -- perl.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[look] +check_license = off +eval_keep_context = on diff --git a/weechat/python.conf b/weechat/python.conf new file mode 100644 index 0000000..187b778 --- /dev/null +++ b/weechat/python.conf @@ -0,0 +1,14 @@ +# +# weechat -- python.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[look] +check_license = off +eval_keep_context = on diff --git a/weechat/relay.conf b/weechat/relay.conf index 565dd14..341b811 100644 --- a/weechat/relay.conf +++ b/weechat/relay.conf @@ -27,14 +27,20 @@ text_selected = white [network] allow_empty_password = off allowed_ips = "" +auth_timeout = 60 bind_address = "" clients_purge_delay = 0 compression_level = 6 ipv6 = on max_clients = 5 +nonce_size = 16 password = "" +password_hash_algo = "*" +password_hash_iterations = 100000 ssl_cert_key = "%h/ssl/relay.pem" ssl_priorities = "NORMAL:-VERS-SSL3.0" +totp_secret = "" +totp_window = 0 websocket_allowed_origins = "" [irc] @@ -45,4 +51,9 @@ backlog_since_last_message = off backlog_tags = "irc_privmsg" backlog_time_format = "[%H:%M] " +[weechat] +commands = "" + [port] + +[path] diff --git a/weechat/ruby.conf b/weechat/ruby.conf new file mode 100644 index 0000000..f6de7fb --- /dev/null +++ b/weechat/ruby.conf @@ -0,0 +1,14 @@ +# +# weechat -- ruby.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[look] +check_license = off +eval_keep_context = on diff --git a/weechat/spell.conf b/weechat/spell.conf new file mode 100644 index 0000000..f65348d --- /dev/null +++ b/weechat/spell.conf @@ -0,0 +1,33 @@ +# +# weechat -- spell.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[color] +misspelled = lightred +suggestion = default +suggestion_delimiter_dict = cyan +suggestion_delimiter_word = cyan + +[check] +commands = "away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic" +default_dict = "" +during_search = off +enabled = off +real_time = off +suggestions = -1 +word_min_length = 2 + +[dict] + +[look] +suggestion_delimiter_dict = " / " +suggestion_delimiter_word = "," + +[option] diff --git a/weechat/tcl.conf b/weechat/tcl.conf new file mode 100644 index 0000000..4c0e389 --- /dev/null +++ b/weechat/tcl.conf @@ -0,0 +1,14 @@ +# +# weechat -- tcl.conf +# +# WARNING: It is NOT recommended to edit this file by hand, +# especially if WeeChat is running. +# +# Use /set or similar command to change settings in WeeChat. +# +# For more info, see: https://weechat.org/doc/quickstart +# + +[look] +check_license = off +eval_keep_context = on diff --git a/weechat/weechat.conf b/weechat/weechat.conf index bf2b28b..0a6d02a 100644 --- a/weechat/weechat.conf +++ b/weechat/weechat.conf @@ -35,6 +35,7 @@ buffer_search_force_default = off buffer_search_regex = off buffer_search_where = message buffer_time_format = "%H:%M:%S" +buffer_time_same = "" color_basic_force_bold = off color_inactive_buffer = off color_inactive_message = on @@ -89,6 +90,7 @@ mouse = off mouse_timer_delay = 100 nick_color_force = "" nick_color_hash = djb2 +nick_color_hash_salt = "" nick_color_stop_chars = "_|[" nick_prefix = "" nick_suffix = "" @@ -111,6 +113,7 @@ prefix_join = "-->" prefix_network = "--" prefix_quit = "<--" prefix_same_nick = "" +prefix_same_nick_middle = "" prefix_suffix = "|" quote_nick_prefix = "<" quote_nick_suffix = ">" @@ -218,6 +221,7 @@ partial_completion_command = off partial_completion_command_arg = off partial_completion_count = on partial_completion_other = off +partial_completion_templates = "config_options" [history] display_default = 5 @@ -243,6 +247,7 @@ save_config_on_unload = on [bar] buflist.color_bg = default +buflist.color_bg_inactive = default buflist.color_delim = default buflist.color_fg = default buflist.conditions = "" @@ -257,6 +262,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" @@ -271,6 +277,7 @@ fset.size = 3 fset.size_max = 3 fset.type = window input.color_bg = default +input.color_bg_inactive = default input.color_delim = cyan input.color_fg = default input.conditions = "" @@ -285,6 +292,7 @@ input.size = 1 input.size_max = 0 input.type = window nicklist.color_bg = default +nicklist.color_bg_inactive = default nicklist.color_delim = cyan nicklist.color_fg = default nicklist.conditions = "nicklist" @@ -299,6 +307,7 @@ nicklist.size = 0 nicklist.size_max = 0 nicklist.type = window status.color_bg = black +status.color_bg_inactive = default status.color_delim = cyan status.color_fg = default status.conditions = "" @@ -313,6 +322,7 @@ status.size = 1 status.size_max = 0 status.type = window title.color_bg = black +title.color_bg_inactive = default title.color_delim = cyan title.color_fg = white title.conditions = "" @@ -364,6 +374,8 @@ ctrl-X = "/input switch_active_buffer" ctrl-Y = "/input clipboard_paste" meta-meta-OP = "/bar scroll buflist * b" meta-meta-OQ = "/bar scroll buflist * e" +meta-meta2-11~ = "/bar scroll buflist * b" +meta-meta2-12~ = "/bar scroll buflist * e" meta-meta2-1~ = "/window scroll_top" meta-meta2-23~ = "/bar scroll nicklist * b" meta-meta2-24~ = "/bar scroll nicklist * e" @@ -390,6 +402,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" @@ -402,6 +415,10 @@ meta-Oa = "/input history_global_previous" meta-Ob = "/input history_global_next" meta-Oc = "/input move_next_word" meta-Od = "/input move_previous_word" +meta2-11^ = "/bar scroll buflist * -100%" +meta2-11~ = "/bar scroll buflist * -100%" +meta2-12^ = "/bar scroll buflist * +100%" +meta2-12~ = "/bar scroll buflist * +100%" meta2-15~ = "/buffer -1" meta2-17~ = "/buffer +1" meta2-18~ = "/window -1" @@ -410,10 +427,14 @@ meta2-1;3A = "/buffer -1" meta2-1;3B = "/buffer +1" meta2-1;3C = "/buffer +1" meta2-1;3D = "/buffer -1" +meta2-1;3P = "/bar scroll buflist * b" +meta2-1;3Q = "/bar scroll buflist * e" meta2-1;5A = "/input history_global_previous" meta2-1;5B = "/input history_global_next" meta2-1;5C = "/input move_next_word" meta2-1;5D = "/input move_previous_word" +meta2-1;5P = "/bar scroll buflist * -100%" +meta2-1;5Q = "/bar scroll buflist * +100%" meta2-1~ = "/input move_beginning_of_line" meta2-20~ = "/bar scroll title * -30%" meta2-21~ = "/bar scroll title * +30%" diff --git a/weechat/xfer.conf b/weechat/xfer.conf index c7ef602..551316f 100644 --- a/weechat/xfer.conf +++ b/weechat/xfer.conf @@ -30,7 +30,9 @@ blocksize = 65536 fast_send = on own_ip = "" port_range = "" -speed_limit = 0 +send_ack = on +speed_limit_recv = 0 +speed_limit_send = 0 timeout = 300 [file] @@ -42,5 +44,6 @@ auto_rename = on auto_resume = on convert_spaces = on download_path = "%h/xfer" +download_temporary_suffix = ".part" upload_path = "~" use_nick_in_filename = on