weechat: Encrypt secrets and add other confs
Anirudh Oppiliappan x@icyphox.sh
Sun, 24 Jan 2021 18:22:49 +0530
6 files changed,
462 insertions(+),
0 deletions(-)
A
darwin/fish/functions/vb.fish
@@ -0,0 +1,4 @@
+# Defined in - @ line 1 +function vb --wraps='vite build' --description 'alias vb=vite build' + vite build $argv; +end
A
weechat/buflist.conf
@@ -0,0 +1,39 @@
+# +# weechat -- buflist.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] +add_newline = on +auto_scroll = 50 +display_conditions = "${buffer.hidden}==0" +enabled = on +mouse_jump_visited_buffer = off +mouse_move_buffer = on +mouse_wheel = on +nick_prefix = off +nick_prefix_empty = on +signals_refresh = "" +sort = "number,-active" + +[format] +buffer = "${indent}${format_nick_prefix}${color_hotlist}${format_name}" +buffer_current = "${color:,yellow}${format_buffer}" +hotlist = " ${color:green}(${hotlist}${color:green})" +hotlist_highlight = "${color:magenta}" +hotlist_low = "${color:white}" +hotlist_message = "${color:brown}" +hotlist_none = "${color:default}" +hotlist_private = "${color:green}" +hotlist_separator = "${color:default}," +indent = " " +lag = " ${color:green}[${color:brown}${lag}${color:green}]" +name = "${name}" +nick_prefix = "${color_nick_prefix}${nick_prefix}" +number = "${color:green}${number}${if:${number_displayed}?.: }"
A
weechat/fset.conf
@@ -0,0 +1,96 @@
+# +# weechat -- fset.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] +auto_refresh = "*" +auto_unmark = off +condition_catch_set = "${count} >= 1" +export_help_default = on +format_number = 1 +marked_string = "*" +scroll_horizontal = 10 +show_plugins_desc = off +sort = "~name" +unmarked_string = " " +use_color_value = off +use_keys = on +use_mute = off + +[format] +export_help = "# ${description2}" +export_option = "/set ${name} ${quoted_value}" +export_option_null = "/unset ${name}" +option1 = "" +option2 = "${marked} ${name} ${type} ${value2}${newline} ${empty_name} ${_default_value}${color:darkgray} -- ${min}..${max}${newline} ${empty_name} ${description}" + +[color] +default_value = default +default_value_selected = white +description = default +description_selected = white +file = default +file_changed = brown +file_changed_selected = yellow +file_selected = white +help_default_value = white +help_description = default +help_name = white +help_quotes = darkgray +help_values = default +index = cyan +index_selected = lightcyan +line_marked_bg1 = default +line_marked_bg2 = default +line_selected_bg1 = blue +line_selected_bg2 = red +marked = brown +marked_selected = yellow +max = default +max_selected = white +min = default +min_selected = white +name = default +name_changed = brown +name_changed_selected = yellow +name_selected = white +option = default +option_changed = brown +option_changed_selected = yellow +option_selected = white +parent_name = default +parent_name_selected = white +parent_value = cyan +parent_value_selected = lightcyan +quotes = darkgray +quotes_changed = default +quotes_changed_selected = white +quotes_selected = default +section = default +section_changed = brown +section_changed_selected = yellow +section_selected = white +string_values = default +string_values_selected = white +title_count_options = cyan +title_current_option = lightcyan +title_filter = yellow +title_marked_options = lightgreen +title_sort = white +type = green +type_selected = lightgreen +unmarked = default +unmarked_selected = white +value = cyan +value_changed = brown +value_changed_selected = yellow +value_selected = lightcyan +value_undef = magenta +value_undef_selected = lightmagenta
A
weechat/irc.conf
@@ -0,0 +1,289 @@
+# +# weechat -- irc.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] +buffer_open_before_autojoin = on +buffer_open_before_join = off +buffer_switch_autojoin = on +buffer_switch_join = on +color_nicks_in_names = off +color_nicks_in_nicklist = off +color_nicks_in_server_messages = on +color_pv_nick_like_channel = on +ctcp_time_format = "%a, %d %b %Y %T %z" +display_away = local +display_ctcp_blocked = on +display_ctcp_reply = on +display_ctcp_unknown = on +display_host_join = on +display_host_join_local = on +display_host_quit = on +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" +highlight_tags_restrict = "irc_privmsg,irc_notice" +item_channel_modes_hide_args = "k" +item_display_server = buffer_plugin +item_nick_modes = on +item_nick_prefix = on +join_auto_add_chantype = off +msgbuffer_fallback = current +new_channel_position = none +new_pv_position = none +nick_completion_smart = speakers +nick_mode = prefix +nick_mode_empty = off +nicks_hide_password = "nickserv" +notice_as_pv = auto +notice_welcome_redirect = on +notice_welcome_tags = "" +notify_tags_ison = "notify_message" +notify_tags_whois = "notify_message" +part_closes_buffer = off +pv_buffer = independent +pv_tags = "notify_private" +raw_messages = 256 +server_buffer = independent +smart_filter = on +smart_filter_account = on +smart_filter_chghost = on +smart_filter_delay = 5 +smart_filter_join = on +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_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 = "y:red;q:red;a:cyan;o:green;h:magenta;v:yellow;*:blue" +notice = green +reason_kick = default +reason_quit = default +topic_current = default +topic_new = white +topic_old = default + +[network] +autoreconnect_delay_growing = 2 +autoreconnect_delay_max = 600 +ban_mask_default = "*!$ident@$host" +colors_receive = on +colors_send = on +lag_check = 60 +lag_max = 1800 +lag_min_show = 500 +lag_reconnect = 300 +lag_refresh_interval = 1 +notify_check_ison = 1 +notify_check_whois = 5 +sasl_fail_unavailable = on +send_unknown_commands = off +whois_double_nick = off + +[msgbuffer] + +[ctcp] + +[ignore] + +[server_default] +addresses = "" +anti_flood_prio_high = 2 +anti_flood_prio_low = 2 +autoconnect = off +autojoin = "" +autoreconnect = on +autoreconnect_delay = 10 +autorejoin = off +autorejoin_delay = 30 +away_check = 0 +away_check_max_nicks = 25 +capabilities = "" +charset_message = message +command = "" +command_delay = 0 +connection_timeout = 60 +ipv6 = on +local_hostname = "" +msg_kick = "" +msg_part = "WeeChat ${info:version}" +msg_quit = "WeeChat ${info:version}" +nicks = "icy,icy1,icy2,icy3,icy4" +nicks_alternate = on +notify = "" +password = "" +proxy = "" +realname = "" +sasl_fail = continue +sasl_key = "" +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:-VERS-SSL3.0" +ssl_verify = on +usermode = "" +username = "icy" + +[server] +rizon.addresses = "irc.icyphox.sh/6666" +rizon.proxy +rizon.ipv6 +rizon.ssl +rizon.ssl_cert +rizon.ssl_password +rizon.ssl_priorities +rizon.ssl_dhkey_size +rizon.ssl_fingerprint +rizon.ssl_verify +rizon.password = "${sec.data.znc}" +rizon.capabilities +rizon.sasl_mechanism +rizon.sasl_username +rizon.sasl_password +rizon.sasl_key +rizon.sasl_timeout +rizon.sasl_fail +rizon.autoconnect +rizon.autoreconnect +rizon.autoreconnect_delay +rizon.nicks +rizon.nicks_alternate +rizon.username = "icyphox/rizon" +rizon.realname +rizon.local_hostname +rizon.usermode +rizon.command +rizon.command_delay +rizon.autojoin +rizon.autorejoin +rizon.autorejoin_delay +rizon.connection_timeout +rizon.anti_flood_prio_high +rizon.anti_flood_prio_low +rizon.away_check +rizon.away_check_max_nicks +rizon.msg_kick +rizon.msg_part +rizon.msg_quit +rizon.notify +rizon.split_msg_max_length +rizon.charset_message +deavmi.addresses = "irc.icyphox.sh/6666" +deavmi.proxy +deavmi.ipv6 +deavmi.ssl +deavmi.ssl_cert +deavmi.ssl_password +deavmi.ssl_priorities +deavmi.ssl_dhkey_size +deavmi.ssl_fingerprint +deavmi.ssl_verify +deavmi.password = "${sec.data.znc}" +deavmi.capabilities +deavmi.sasl_mechanism +deavmi.sasl_username +deavmi.sasl_password +deavmi.sasl_key +deavmi.sasl_timeout +deavmi.sasl_fail +deavmi.autoconnect +deavmi.autoreconnect +deavmi.autoreconnect_delay +deavmi.nicks +deavmi.nicks_alternate +deavmi.username = "icyphox/deavmi" +deavmi.realname +deavmi.local_hostname +deavmi.usermode +deavmi.command +deavmi.command_delay +deavmi.autojoin +deavmi.autorejoin +deavmi.autorejoin_delay +deavmi.connection_timeout +deavmi.anti_flood_prio_high +deavmi.anti_flood_prio_low +deavmi.away_check +deavmi.away_check_max_nicks +deavmi.msg_kick +deavmi.msg_part +deavmi.msg_quit +deavmi.notify +deavmi.split_msg_max_length +deavmi.charset_message +freenode.addresses = "irc.icyphox.sh/6666" +freenode.proxy +freenode.ipv6 +freenode.ssl +freenode.ssl_cert +freenode.ssl_password +freenode.ssl_priorities +freenode.ssl_dhkey_size +freenode.ssl_fingerprint +freenode.ssl_verify +freenode.password = "${sec.data.znc}" +freenode.capabilities +freenode.sasl_mechanism +freenode.sasl_username +freenode.sasl_password +freenode.sasl_key +freenode.sasl_timeout +freenode.sasl_fail +freenode.autoconnect +freenode.autoreconnect +freenode.autoreconnect_delay +freenode.nicks +freenode.nicks_alternate +freenode.username = "icyphox/freenode" +freenode.realname +freenode.local_hostname +freenode.usermode +freenode.command +freenode.command_delay +freenode.autojoin +freenode.autorejoin +freenode.autorejoin_delay +freenode.connection_timeout +freenode.anti_flood_prio_high +freenode.anti_flood_prio_low +freenode.away_check +freenode.away_check_max_nicks +freenode.msg_kick +freenode.msg_part +freenode.msg_quit +freenode.notify +freenode.split_msg_max_length +freenode.charset_message
A
weechat/sec.conf
@@ -0,0 +1,20 @@
+# +# weechat -- sec.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 +# + +[crypt] +cipher = aes256 +hash_algo = sha256 +passphrase_file = "" +salt = on + +[data] +__passphrase__ = on +znc = "7C4136A4FD2B04F35BFE92C08AB35CD0A4BDBABF9DB49B38CF30638F66D0E5A099EA09BF03A4072408D6CFC56CA5C32D629955"
M
weechat/weechat.conf
→
weechat/weechat.conf
@@ -390,6 +390,20 @@ title.type = window
[layout] default.buffer = "core;weechat;1" +default.buffer = "irc;server.deavmi;2" +default.buffer = "irc;deavmi.#crxn;3" +default.buffer = "irc;deavmi.#general;4" +default.buffer = "irc;deavmi.#programming;5" +default.buffer = "irc;server.freenode;6" +default.buffer = "irc;freenode.##crustaceans;7" +default.buffer = "irc;freenode.#kisslinux;8" +default.buffer = "irc;freenode.#lobsters;9" +default.buffer = "irc;freenode.#neovim;10" +default.buffer = "irc;freenode.#openbsd;11" +default.buffer = "irc;server.rizon;12" +default.buffer = "irc;rizon.#buddy;13" +default.buffer = "irc;rizon.#homescreen;14" +default.buffer = "irc;rizon.#rice;15" default.window = "1;0;0;0;irc;rizon.Carp" default.current = on