From ce6be946d024aa55a15d576388d05f90be671cf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 8 Oct 2022 12:40:19 +0200 Subject: Sat Oct 8 12:40:19 PM CEST 2022 --- .weechat/buflist.conf | 10 +++++----- .weechat/fset.conf | 2 +- .weechat/logger.conf | 2 +- .weechat/weechat.conf | 28 ++++++++++++++++++++++++---- 4 files changed, 31 insertions(+), 11 deletions(-) (limited to '.weechat') diff --git a/.weechat/buflist.conf b/.weechat/buflist.conf index 99bd851..b56726d 100755 --- a/.weechat/buflist.conf +++ b/.weechat/buflist.conf @@ -6,25 +6,25 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look] add_newline = on auto_scroll = 50 -display_conditions = "${buffer.hidden}==0" +display_conditions = "${bar_item.name} == buflist && (${buffer.hidden} == || ${plugins.var.buflist.look.show_hidden_buffers} !=) && (${type} !~ ^(channel|private)$ || ${type} =~ ^(channel|private)$ && ${buffer[${if:${plugin}==irc?${info:irc_buffer,${irc_server.name}}:${info:slack_matrix_server_search,${buffer}}}].local_variables.fold}==) || ${bar_item.name} == buflist2 && ${buffer.local_variables.control_buffer} != || ${bar_item.name} == buflist3 && ${buffer.local_variables.control_buffer2} !=" enabled = on mouse_jump_visited_buffer = off mouse_move_buffer = on mouse_wheel = on nick_prefix = off nick_prefix_empty = on -signals_refresh = "" +signals_refresh = "irc_server_connected,relay_client_connected,relay_client_disconnected" sort = "number,-active" -use_items = 1 +use_items = 3 [format] -buffer = "${format_number}${indent}${format_nick_prefix}${color_hotlist}${name}${buffer.nick}" +buffer = "${format_number}${indent}${format_nick_prefix}${color_hotlist}${format_name}" buffer_current = "${color:,blue}${format_buffer}" hotlist = " ${color:green}(${hotlist}${color:green})" hotlist_highlight = "${color:magenta}" diff --git a/.weechat/fset.conf b/.weechat/fset.conf index 3d7a814..1b52d85 100755 --- a/.weechat/fset.conf +++ b/.weechat/fset.conf @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look] diff --git a/.weechat/logger.conf b/.weechat/logger.conf index 37c02b4..9bd4719 100755 --- a/.weechat/logger.conf +++ b/.weechat/logger.conf @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [look] diff --git a/.weechat/weechat.conf b/.weechat/weechat.conf index 53e2776..e79493e 100755 --- a/.weechat/weechat.conf +++ b/.weechat/weechat.conf @@ -6,7 +6,7 @@ # # Use commands like /set or /fset to change settings in WeeChat. # -# For more info, see: https://weechat.org/doc/quickstart +# For more info, see: https://weechat.org/doc/quickstart/ # [debug] @@ -212,7 +212,7 @@ status_time = default [completion] base_word_until_cursor = on command_inline = on -default_template = "%(nicks)|%(irc_channels)" +default_template = "%(nicks)|%(irc_channels)|%(usergroups)" nick_add_space = on nick_case_sensitive = off nick_completer = ": " @@ -243,7 +243,6 @@ proxy_curl = "" [plugin] autoload = "*" -debug = off extension = ".so,.dll" path = "%h/plugins" save_config_on_unload = on @@ -324,7 +323,7 @@ status.conditions = "" status.filling_left_right = vertical status.filling_top_bottom = horizontal status.hidden = off -status.items = "[time],[buffer_last_number],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_zoom+buffer_filter,scroll,[lag],[hotlist],[matrix_typing_notice],completion" +status.items = "[time],[buffer_last_number],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_zoom+buffer_filter,scroll,[lag],[hotlist],[matrix_typing_notice],[slack_typing_notice],completion,cmd_completion" status.position = bottom status.priority = 500 status.separator = off @@ -362,9 +361,24 @@ vi_line_numbers.size = 0 vi_line_numbers.size_max = 0 vi_line_numbers.type = window +[custom_bar_item] + [layout] [notify] +python.slack.scaleway.#briq = highlight +python.slack.scaleway.#datacenter = highlight +python.slack.scaleway.#fivefoot5x5urban = highlight +python.slack.scaleway.#foodporn = highlight +python.slack.scaleway.#it-internal-services = highlight +python.slack.scaleway.#production-incidents = highlight +python.slack.scaleway.#production-ops = highlight +python.slack.scaleway.#protobuf = highlight +python.slack.scaleway.#social-media = highlight +python.slack.scaleway.#sport-paris = highlight +python.slack.scaleway.#squad-managed-databases = highlight +python.slack.scaleway.#squad-redis = highlight +python.slack.scaleway.#squad-website = highlight [filter] topic = on;*;irc_topic;* @@ -653,6 +667,11 @@ meta2-A = "/cursor move up" meta2-B = "/cursor move down" meta2-C = "/cursor move right" meta2-D = "/cursor move left" +@chat(python.*):D = "hsignal:slack_cursor_delete" +@chat(python.*):L = "hsignal:slack_cursor_linkarchive" +@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}" @@ -675,6 +694,7 @@ meta2-D = "/cursor move left" @chat(fset.fset):button2* = "hsignal:fset_mouse" @chat(fset.fset):wheeldown = "/fset -down 5" @chat(fset.fset):wheelup = "/fset -up 5" +@chat(python.*):button2 = "hsignal:slack_mouse" @chat(script.scripts):button1 = "/window ${_window_number};/script go ${_chat_line_y}" @chat(script.scripts):button2 = "/window ${_window_number};/script go ${_chat_line_y};/script installremove -q ${script_name_with_extension}" @chat(script.scripts):wheeldown = "/script down 5" -- cgit v1.2.3