From 88d331903da23f31086a62f570fbf0493438a82c Mon Sep 17 00:00:00 2001 From: acidvegas Date: Fri, 9 Jun 2023 19:50:35 -0400 Subject: [PATCH] Added buffer numbers for easy /<#> switching --- README.md | 15 +++++++++++---- alias.conf | 1 + 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6478df9..37aee40 100644 --- a/README.md +++ b/README.md @@ -56,11 +56,12 @@ systemctl --user enable weechat-headless ### Settings ###### Appearance ``` -/set buflist.format.buffer "${if:${type}==server?${if:${window[gui_current_window].buffer.local_variables.server}==${buffer.local_variables.server}?${if:${irc_server.is_connected}?${color:green,235}:${color:lightred,235}}• ${color:default,235}${name}:${if:${irc_server.is_connected}?${color:green,235}:${color:lightred,235}}• ${color:default,235}${indent}${name}}:}${if:${type}=~(channel|private)?${color_hotlist}${indent}${name}:}${if:${type}!~(channel|private|server)?${color:gray}${name}:}" -/set buflist.format.buffer_current "${if:${type}==server?${if:${window[gui_current_window].buffer.local_variables.server}==${buffer.local_variables.server}?${color:lightred}${if:${irc_server.is_connected}?${color:green,235}:${color:lightred,235}}• ${name}${format_hotlist}:${color:237}${if:${irc_server.is_connected}?${color:green,235}:${color:lightred,235}}• ${name}}${format_lag}${format_hotlist}:${if:${type}=~(channel|private)?• ${name}:${if:${type}!~(channel|private|server)?${color:lightblue}${name}:}}}" +/set buflist.format.buffer "${if:${type}==server?${if:${window[gui_current_window].buffer.local_variables.server}==${buffer.local_variables.server}?${color:235,235}${format_number}${if:${irc_server.is_connected}?${color:green,235}:${color:lightred,235}}• ${color:default,235}${name}:${color:235,235}${format_number}${if:${irc_server.is_connected}?${color:green,235}:${color:lightred,235}}• ${color:default,235}${indent}${name}}:}${if:${type}=~(channel|private)?${format_number}${color_hotlist}${indent}${name}:}${if:${type}!~(channel|private|server)?${format_number}${color:gray} ${name}:}" +/set buflist.format.buffer_current "${if:${type}==server?${if:${window[gui_current_window].buffer.local_variables.server}==${buffer.local_variables.server}?${color:lightred}${if:${irc_server.is_connected}?${color:235,235}${format_number}${color:green,235}:${color:lightred,235}}• ${name}${format_hotlist}:${color:237}${if:${irc_server.is_connected}?${color:235,235}${format_number}${color:green,235}:${color:lightred,235}}• ${name}}${format_lag}${format_hotlist}:${if:${type}=~(channel|private)?${format_number}• ${color:lightgreen}${name}:${if:${type}!~(channel|private|server)?${format_number}${color:lightgreen} ${name}:}}}" /set buflist.format.hotlist_highlight "${color:yellow}" /set buflist.format.hotlist_message "${color:cyan}" /set buflist.format.hotlist_private "${color:yellow}" +/set buflist.format.number "${color:235}${number}${if:${number_displayed}? │: }" /set irc.color.input_nick default /set irc.color.nick_prefixes "y:green;q:green;a:lightred;o:red;h:yellow;v:lightblue;*:lightmagenta" /set irc.color.reason_quit darkgray @@ -84,7 +85,6 @@ systemctl --user enable weechat-headless /set weechat.bar.title.color_bg black /set weechat.bar.title.separator off /set weechat.bar.title.size_max 2 -/set weechat.look.chat_space_right on /set weechat.color.chat_delimiters darkgray /set weechat.color.chat_highlight_bg default /set weechat.color.chat_host darkgray @@ -103,6 +103,7 @@ systemctl --user enable weechat-headless /set weechat.look.bar_more_right "▶" /set weechat.look.bar_more_up "▲" /set weechat.look.buffer_time_format " %H:%M" +/set weechat.look.chat_space_right on /set weechat.look.day_change off /set weechat.look.item_buffer_filter "•" /set weechat.look.prefix_align_max 15 @@ -182,10 +183,16 @@ systemctl --user enable weechat-headless ###### Scripts ``` +/set plugins.var.perl.antifuck.autopart 1 +/set plugins.var.perl.antifuck.nobufs 1 +/set plugins.var.perl.fuckyou.forcejoin SAJOIN +/set plugins.var.perl.fuckyou.forcepart SAPART +/set plugins.var.perl.fuckyou.furry &ENTERTHEVOID +/set plugins.var.perl.fuckyou.parallel 25 /set plugins.var.perl.highmon.first_run false /set plugins.var.perl.highmon.short_names on /set plugins.var.perl.keepnick.default_enable 1 -/set plugins.var.perl.multiline.weechat_paste_fix "off" +/set plugins.var.perl.multiline.weechat_paste_fix off ``` --- diff --git a/alias.conf b/alias.conf index a1bfc83..16ef50e 100644 --- a/alias.conf +++ b/alias.conf @@ -87,6 +87,7 @@ sn_move = "masshl %n: 1,8/!\08,04 WARNING 1,8/!\ 04This channel has moved sn_gold = "say You must have a SuperNETs 8,7GOLD account to view this message." # Useful +chatsize = "say ${info:term_height} lines, ${info:term_width} characters" clear = "buffer clear" close = "buffer close" collapse = "allchan -current /buffer hide; /allpv -current /buffer hide"