buflist config

This commit is contained in:
Michael Zhang 2020-06-26 18:49:10 +00:00
parent 19e6759c06
commit 428dfaca16
Signed by: michael
GPG Key ID: BDA47A31A3C8EE6B
2 changed files with 39 additions and 0 deletions

0
dot_weechat/.keep Normal file
View File

View File

@ -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 = "${if:${type}==server?${if:${window[gui_current_window].buffer.local_variables.server}==${buffer.local_variables.server}?${color:lightblue}────────────────────${\n}${color:lightblue}${if:${irc_server.is_connected}?${color:green}:${color:lightred}}${number} ${color:lightblue}${name}${format_hotlist}:${color:237}────────────────────${\n}${color:237}${if:${irc_server.is_connected}?${color:green}:${color:lightred}}${number} ${color:237}${name}}${format_lag}${format_hotlist}:}${if:${type}=~(channel|private)?${color:237}${number}${indent}${color_hotlist}${name}${format_hotlist}:}${if:${type}!~(channel|private|server)?${color:237}${number} ${name}:}"
buffer_current = "${if:${type}==server?${if:${window[gui_current_window].buffer.local_variables.server}==${buffer.local_variables.server}?${color:lightred}────────────────────${\n}${color:lightred}${if:${irc_server.is_connected}?${color:green}:${color:lightred}}${number} ${name}${format_hotlist}:${color:237}────────────────────${\n}${color:237}${if:${irc_server.is_connected}?${color:green}:${color:lightred}}${number} ${name}}${format_lag}${format_hotlist}:${if:${type}=~(channel|private)?${color:lightblue}${number} ${name}:${if:${type}!~(channel|private|server)?${color:lightblue}${number} ${name}:}}}"
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}?.: }"