From de89e88c90b4e022db8c1875c238b636183552c4 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Thu, 18 Jan 2018 21:23:19 -0800 Subject: [PATCH] Weechat config bump. --- dotfiles/weechat/alias.conf | 2 +- dotfiles/weechat/aspell.conf | 2 +- dotfiles/weechat/charset.conf | 2 +- dotfiles/weechat/exec.conf | 2 +- dotfiles/weechat/irc.conf | 139 ++++++++++++++++++++++++++++------ dotfiles/weechat/logger.conf | 2 +- dotfiles/weechat/plugins.conf | 3 +- dotfiles/weechat/relay.conf | 5 +- dotfiles/weechat/script.conf | 6 +- dotfiles/weechat/sec.conf | 4 +- dotfiles/weechat/trigger.conf | 7 +- dotfiles/weechat/weechat.conf | 23 +++++- dotfiles/weechat/xfer.conf | 2 +- 13 files changed, 160 insertions(+), 39 deletions(-) diff --git a/dotfiles/weechat/alias.conf b/dotfiles/weechat/alias.conf index e5f00a4..069fc02 100644 --- a/dotfiles/weechat/alias.conf +++ b/dotfiles/weechat/alias.conf @@ -1,5 +1,5 @@ # -# alias.conf -- weechat v1.0.1 +# weechat -- alias.conf # [cmd] diff --git a/dotfiles/weechat/aspell.conf b/dotfiles/weechat/aspell.conf index aa0bd00..c3d12dc 100644 --- a/dotfiles/weechat/aspell.conf +++ b/dotfiles/weechat/aspell.conf @@ -1,5 +1,5 @@ # -# aspell.conf -- weechat v1.0.1 +# weechat -- aspell.conf # [color] diff --git a/dotfiles/weechat/charset.conf b/dotfiles/weechat/charset.conf index aadbdae..99a90d5 100644 --- a/dotfiles/weechat/charset.conf +++ b/dotfiles/weechat/charset.conf @@ -1,5 +1,5 @@ # -# charset.conf -- weechat v1.0.1 +# weechat -- charset.conf # [default] diff --git a/dotfiles/weechat/exec.conf b/dotfiles/weechat/exec.conf index 0f713aa..39f1929 100644 --- a/dotfiles/weechat/exec.conf +++ b/dotfiles/weechat/exec.conf @@ -1,5 +1,5 @@ # -# exec.conf -- weechat v1.0.1 +# weechat -- exec.conf # [command] diff --git a/dotfiles/weechat/irc.conf b/dotfiles/weechat/irc.conf index 673b61a..18ecd46 100644 --- a/dotfiles/weechat/irc.conf +++ b/dotfiles/weechat/irc.conf @@ -1,8 +1,10 @@ # -# irc.conf -- weechat v1.0.1 +# weechat -- irc.conf # [look] +buffer_open_before_autojoin = on +buffer_open_before_join = off buffer_switch_autojoin = on buffer_switch_join = on color_nicks_in_names = off @@ -25,7 +27,6 @@ highlight_channel = "$nick" highlight_pv = "$nick" highlight_server = "$nick" highlight_tags_restrict = "irc_privmsg,irc_notice" -item_away_message = on item_channel_modes_hide_args = "k" item_display_server = buffer_plugin item_nick_modes = on @@ -34,9 +35,6 @@ join_auto_add_chantype = off msgbuffer_fallback = current new_channel_position = none new_pv_position = none -nick_color_force = "" -nick_color_hash = sum -nick_color_stop_chars = "_|[" nick_completion_smart = speakers nick_mode = prefix nick_mode_empty = off @@ -58,11 +56,11 @@ smart_filter_join_unmask = 30 smart_filter_mode = "+" smart_filter_nick = on smart_filter_quit = on +temporary_servers = off topic_strip_colors = off [color] input_nick = lightcyan -item_away = yellow item_channel_modes = default item_lag_counting = default item_lag_finished = yellow @@ -73,14 +71,15 @@ mirc_remap = "1,-1:darkgray" nick_prefixes = "q:lightred;a:lightcyan;o:lightgreen;h:lightmagenta;v:yellow;*:lightblue" notice = green reason_quit = default +topic_current = default topic_new = white topic_old = default [network] -alternate_nick = on autoreconnect_delay_growing = 2 autoreconnect_delay_max = 600 ban_mask_default = "*!$ident@$host" +channel_encode = off colors_receive = on colors_send = on lag_check = 60 @@ -90,6 +89,7 @@ lag_reconnect = 0 lag_refresh_interval = 1 notify_check_ison = 1 notify_check_whois = 5 +sasl_fail_unavailable = on send_unknown_commands = off whois_double_nick = off @@ -115,16 +115,19 @@ capabilities = "" command = "" command_delay = 0 connection_timeout = 60 -default_msg_kick = "" -default_msg_part = "gg" -default_msg_quit = "gg! I'm out." ipv6 = on local_hostname = "" +msg_kick = "" +msg_part = "WeeChat ${info:version}" +msg_quit = "WeeChat ${info:version}" nicks = "Matir,Matir~,Matir[]" +nicks_alternate = on notify = "" password = "" proxy = "" realname = "" +sasl_fail = continue +sasl_key = "" sasl_mechanism = plain sasl_password = "" sasl_timeout = 15 @@ -152,11 +155,14 @@ freenode.capabilities freenode.sasl_mechanism freenode.sasl_username freenode.sasl_password +freenode.sasl_key freenode.sasl_timeout +freenode.sasl_fail freenode.autoconnect = on freenode.autoreconnect freenode.autoreconnect_delay freenode.nicks = "Matir,Matir~" +freenode.nicks_alternate freenode.username freenode.realname freenode.local_hostname @@ -170,9 +176,9 @@ freenode.anti_flood_prio_high freenode.anti_flood_prio_low freenode.away_check freenode.away_check_max_nicks -freenode.default_msg_kick -freenode.default_msg_part -freenode.default_msg_quit +freenode.msg_kick +freenode.msg_part +freenode.msg_quit freenode.notify hak5.addresses = "irc.hak5.org/6697" hak5.proxy @@ -188,17 +194,20 @@ hak5.capabilities hak5.sasl_mechanism hak5.sasl_username hak5.sasl_password +hak5.sasl_key hak5.sasl_timeout +hak5.sasl_fail hak5.autoconnect = on hak5.autoreconnect hak5.autoreconnect_delay hak5.nicks +hak5.nicks_alternate hak5.username hak5.realname hak5.local_hostname hak5.command hak5.command_delay -hak5.autojoin = "#hak5,#pineapple,#ducky,#SDR,#lanturtle" +hak5.autojoin = "#hak5,#pineapple,#ducky,#SDR,#lanturtle,#bashbunny" hak5.autorejoin hak5.autorejoin_delay hak5.connection_timeout @@ -206,9 +215,9 @@ hak5.anti_flood_prio_high hak5.anti_flood_prio_low hak5.away_check hak5.away_check_max_nicks -hak5.default_msg_kick -hak5.default_msg_part -hak5.default_msg_quit +hak5.msg_kick +hak5.msg_part +hak5.msg_quit hak5.notify rpisec.addresses = "irc.rpis.ec/6697" rpisec.proxy @@ -224,11 +233,14 @@ rpisec.capabilities rpisec.sasl_mechanism rpisec.sasl_username rpisec.sasl_password +rpisec.sasl_key rpisec.sasl_timeout +rpisec.sasl_fail rpisec.autoconnect = on rpisec.autoreconnect rpisec.autoreconnect_delay rpisec.nicks +rpisec.nicks_alternate rpisec.username rpisec.realname rpisec.local_hostname @@ -242,9 +254,9 @@ rpisec.anti_flood_prio_high rpisec.anti_flood_prio_low rpisec.away_check rpisec.away_check_max_nicks -rpisec.default_msg_kick -rpisec.default_msg_part -rpisec.default_msg_quit +rpisec.msg_kick +rpisec.msg_part +rpisec.msg_quit rpisec.notify overthewire.addresses = "ircs.overthewire.org/6697" overthewire.proxy @@ -260,11 +272,14 @@ overthewire.capabilities overthewire.sasl_mechanism overthewire.sasl_username overthewire.sasl_password +overthewire.sasl_key overthewire.sasl_timeout +overthewire.sasl_fail overthewire.autoconnect = on overthewire.autoreconnect overthewire.autoreconnect_delay overthewire.nicks +overthewire.nicks_alternate overthewire.username overthewire.realname overthewire.local_hostname @@ -278,7 +293,85 @@ overthewire.anti_flood_prio_high overthewire.anti_flood_prio_low overthewire.away_check overthewire.away_check_max_nicks -overthewire.default_msg_kick -overthewire.default_msg_part -overthewire.default_msg_quit +overthewire.msg_kick +overthewire.msg_part +overthewire.msg_quit overthewire.notify +hackint.addresses = "irc.hackint.org/9999" +hackint.proxy +hackint.ipv6 +hackint.ssl = on +hackint.ssl_cert +hackint.ssl_priorities +hackint.ssl_dhkey_size +hackint.ssl_fingerprint +hackint.ssl_verify = on +hackint.password +hackint.capabilities +hackint.sasl_mechanism +hackint.sasl_username +hackint.sasl_password +hackint.sasl_key +hackint.sasl_timeout +hackint.sasl_fail +hackint.autoconnect = on +hackint.autoreconnect +hackint.autoreconnect_delay +hackint.nicks +hackint.nicks_alternate +hackint.username +hackint.realname +hackint.local_hostname +hackint.command +hackint.command_delay +hackint.autojoin +hackint.autorejoin +hackint.autorejoin_delay +hackint.connection_timeout +hackint.anti_flood_prio_high +hackint.anti_flood_prio_low +hackint.away_check +hackint.away_check_max_nicks +hackint.msg_kick +hackint.msg_part +hackint.msg_quit +hackint.notify +afternet.addresses = "irc.afternet.org/6697" +afternet.proxy +afternet.ipv6 +afternet.ssl = on +afternet.ssl_cert +afternet.ssl_priorities +afternet.ssl_dhkey_size +afternet.ssl_fingerprint +afternet.ssl_verify = on +afternet.password +afternet.capabilities +afternet.sasl_mechanism +afternet.sasl_username +afternet.sasl_password +afternet.sasl_key +afternet.sasl_timeout +afternet.sasl_fail +afternet.autoconnect = on +afternet.autoreconnect +afternet.autoreconnect_delay +afternet.nicks +afternet.nicks_alternate +afternet.username +afternet.realname +afternet.local_hostname +afternet.command +afternet.command_delay +afternet.autojoin = "#eevblog" +afternet.autorejoin +afternet.autorejoin_delay +afternet.connection_timeout +afternet.anti_flood_prio_high +afternet.anti_flood_prio_low +afternet.away_check +afternet.away_check_max_nicks +afternet.msg_kick +afternet.msg_part +afternet.msg_quit +afternet.notify diff --git a/dotfiles/weechat/logger.conf b/dotfiles/weechat/logger.conf index b2369db..89fed53 100644 --- a/dotfiles/weechat/logger.conf +++ b/dotfiles/weechat/logger.conf @@ -1,5 +1,5 @@ # -# logger.conf -- weechat v1.0.1 +# weechat -- logger.conf # [look] diff --git a/dotfiles/weechat/plugins.conf b/dotfiles/weechat/plugins.conf index a744a5bb..8bb36fd 100644 --- a/dotfiles/weechat/plugins.conf +++ b/dotfiles/weechat/plugins.conf @@ -1,10 +1,11 @@ # -# plugins.conf -- weechat v1.0.1 +# weechat -- plugins.conf # [var] fifo.fifo = "on" guile.check_license = "off" +javascript.check_license = "off" lua.check_license = "off" perl.check_license = "off" python.check_license = "off" diff --git a/dotfiles/weechat/relay.conf b/dotfiles/weechat/relay.conf index dd180d7..296b06b 100644 --- a/dotfiles/weechat/relay.conf +++ b/dotfiles/weechat/relay.conf @@ -1,5 +1,5 @@ # -# relay.conf -- weechat v1.0.1 +# weechat -- relay.conf # [look] @@ -18,6 +18,7 @@ text_bg = default text_selected = white [network] +allow_empty_password = off allowed_ips = "" bind_address = "" clients_purge_delay = 0 @@ -26,12 +27,14 @@ ipv6 = on max_clients = 5 password = "${sec.data.relay_password}" ssl_cert_key = "%h/ssl/relay.pem" +ssl_priorities = "NORMAL:-VERS-SSL3.0" websocket_allowed_origins = "" [irc] backlog_max_minutes = 1440 backlog_max_number = 256 backlog_since_last_disconnect = on +backlog_since_last_message = off backlog_tags = "irc_privmsg" backlog_time_format = "[%H:%M] " diff --git a/dotfiles/weechat/script.conf b/dotfiles/weechat/script.conf index 6e09f58..e1577d4 100644 --- a/dotfiles/weechat/script.conf +++ b/dotfiles/weechat/script.conf @@ -1,5 +1,5 @@ # -# script.conf -- weechat v1.0.1 +# weechat -- script.conf # [look] @@ -43,6 +43,8 @@ text_version_selected = lightmagenta [scripts] autoload = on cache_expire = 1440 -dir = "%h/script" +download_timeout = 30 hold = "" +path = "%h/script" url = "http://weechat.org/files/plugins.xml.gz" +url_force_https = on diff --git a/dotfiles/weechat/sec.conf b/dotfiles/weechat/sec.conf index 856bf9e..f89d2ac 100644 --- a/dotfiles/weechat/sec.conf +++ b/dotfiles/weechat/sec.conf @@ -1,5 +1,5 @@ # -# sec.conf -- weechat v1.0.1 +# weechat -- sec.conf # [crypt] @@ -10,4 +10,4 @@ salt = on [data] __passphrase__ = on -relay_password = "F72F34E668B7CE288A36F20629885B9A985EAE9ED04E80C37BF6176FAF8404EE3E0D5D22A6C8E7681ACC0899FB888436AF200183A27591" +relay_password = "D1FD30C08951B1A5BCBBB7EE6AAFB6AF9B86017B353182A1CA8826D5A98EB88E7E723591C544FC41A6913EA67E8764E50BDD8A5AD3D0A0" diff --git a/dotfiles/weechat/trigger.conf b/dotfiles/weechat/trigger.conf index 0fdd9d8..a090b43 100644 --- a/dotfiles/weechat/trigger.conf +++ b/dotfiles/weechat/trigger.conf @@ -1,5 +1,5 @@ # -# trigger.conf -- weechat v1.0.1 +# weechat -- trigger.conf # [look] @@ -9,6 +9,7 @@ monitor_strip_colors = off [color] flag_command = lightgreen flag_conditions = yellow +flag_post_action = lightblue flag_regex = lightcyan flag_return_code = lightmagenta regex = white @@ -22,6 +23,7 @@ beep.command = "/print -beep" beep.conditions = "${tg_highlight} || ${tg_msg_pv}" beep.enabled = on beep.hook = print +beep.post_action = none beep.regex = "" beep.return_code = ok cmd_pass.arguments = "5000|input_text_display;5000|history_add;5000|irc_command_auth" @@ -29,6 +31,7 @@ cmd_pass.command = "" cmd_pass.conditions = "" cmd_pass.enabled = on cmd_pass.hook = modifier +cmd_pass.post_action = none cmd_pass.regex = "==^((/(msg|quote) +nickserv +(id|identify|register|ghost +[^ ]+|release +[^ ]+|regain +[^ ]+) +)|/oper +[^ ]+ +|/quote +pass +|/set +[^ ]*password[^ ]* +|/secure +(passphrase|decrypt|set +[^ ]+) +)(.*)==$1$.*+" cmd_pass.return_code = ok msg_auth.arguments = "5000|irc_message_auth" @@ -36,6 +39,7 @@ msg_auth.command = "" msg_auth.conditions = "" msg_auth.enabled = on msg_auth.hook = modifier +msg_auth.post_action = none msg_auth.regex = "==^(.*(id|identify|register|ghost +[^ ]+|release +[^ ]+) +)(.*)==$1$.*+" msg_auth.return_code = ok server_pass.arguments = "5000|input_text_display;5000|history_add" @@ -43,5 +47,6 @@ server_pass.command = "" server_pass.conditions = "" server_pass.enabled = on server_pass.hook = modifier +server_pass.post_action = none server_pass.regex = "==^(/(server|connect) .*-(sasl_)?password=)([^ ]+)(.*)==$1$.*4$5" server_pass.return_code = ok diff --git a/dotfiles/weechat/weechat.conf b/dotfiles/weechat/weechat.conf index 6e8bdd4..bdef861 100644 --- a/dotfiles/weechat/weechat.conf +++ b/dotfiles/weechat/weechat.conf @@ -1,5 +1,5 @@ # -# weechat.conf -- weechat v1.0.1 +# weechat -- weechat.conf # [debug] @@ -38,7 +38,9 @@ color_nick_offline = off color_pairs_auto_reset = 5 color_real_white = off command_chars = "" +command_incomplete = off confirm_quit = off +confirm_upgrade = off day_change = on day_change_message_1date = "-- %a, %d %b %Y --" day_change_message_2dates = "-- %%a, %%d %%b %%Y (%a, %d %b %Y) --" @@ -65,17 +67,24 @@ input_cursor_scroll = 20 input_share = none input_share_overwrite = off input_undo_max = 32 +item_away_message = on item_buffer_filter = "*" item_buffer_zoom = "!" +item_mouse_status = "M" item_time_format = "%H:%M" jump_current_to_previous_buffer = on jump_previous_buffer_when_closing = on jump_smart_back_to_buffer = on key_bind_safe = on +key_grab_delay = 800 mouse = off mouse_timer_delay = 100 +nick_color_force = "" +nick_color_hash = djb2 +nick_color_stop_chars = "_|[" nick_prefix = "" nick_suffix = "" +paste_auto_add_newline = on paste_bracketed = on paste_bracketed_timer_delay = 10 paste_max_lines = 1 @@ -95,6 +104,9 @@ prefix_network = "--" prefix_quit = "<--" prefix_same_nick = "" prefix_suffix = "|" +quote_nick_prefix = "<" +quote_nick_suffix = ">" +quote_time_format = "%H:%M:%S" read_marker = line read_marker_always_show = off read_marker_string = "- " @@ -112,6 +124,8 @@ window_auto_zoom = off window_separator_horizontal = on window_separator_vertical = on window_title = "irc" +word_chars_highlight = "!\u00A0,-,_,|,alnum" +word_chars_input = "!\u00A0,-,_,|,alnum" [palette] @@ -155,13 +169,14 @@ chat_text_found_bg = lightmagenta chat_time = default chat_time_delimiters = brown chat_value = cyan +chat_value_null = blue emphasized = yellow emphasized_bg = magenta input_actions = lightgreen input_text_not_found = red +item_away = yellow nicklist_away = cyan nicklist_group = green -nicklist_offline = blue separator = blue status_count_highlight = magenta status_count_msg = brown @@ -173,6 +188,7 @@ status_data_other = default status_data_private = lightgreen status_filter = green status_more = yellow +status_mouse = green status_name = white status_name_ssl = lightgreen status_nicklist_count = default @@ -181,6 +197,7 @@ status_time = default [completion] base_word_until_cursor = on +command_inline = on default_template = "%(nicks)|%(irc_channels)" nick_add_space = on nick_completer = ":" @@ -203,7 +220,7 @@ max_visited_buffers = 50 [network] connection_timeout = 60 -gnutls_ca_file = "/etc/ssl/certs/ca-certificates.crt" +gnutls_ca_file = "~/.weechat/certs/ca-certificates.crt" gnutls_handshake_timeout = 30 proxy_curl = "" diff --git a/dotfiles/weechat/xfer.conf b/dotfiles/weechat/xfer.conf index 6e78f2a..39ac5bd 100644 --- a/dotfiles/weechat/xfer.conf +++ b/dotfiles/weechat/xfer.conf @@ -1,5 +1,5 @@ # -# xfer.conf -- weechat v1.0.1 +# weechat -- xfer.conf # [look]