Skip to content

Instantly share code, notes, and snippets.

@keithpl
Last active February 19, 2024 01:09
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keithpl/80b4364f2e314016339080da3e6742ad to your computer and use it in GitHub Desktop.
Save keithpl/80b4364f2e314016339080da3e6742ad to your computer and use it in GitHub Desktop.
pacman -S weechat enchant aspell aspell-en aspell-ru
/secure passphrase <passphrase>
/secure set zncpass <znc passphrase>
/set irc.server_default.nicks "comma separated nicks"
/set irc.server_default.username "username"
/set irc.server_default.realname "realname"
/set irc.look.highlight_channel "$nick,<additional_strings_you_want>"
/server add network <zncaddr>/<zncport> -ssl -username=<user>/network -password=${sec.data.zncpass} -autoconnect
/mouse enable
/set weechat.plugin.autoload "*,!javascript,!lua,!ruby,!tcl"
/set irc.network.send_unknown_commands on
/set irc.server_default.capabilities account-notify,away-notify,cap-notify,multi-prefix,server-time,znc.in/server-time-iso,znc.in/self-message
/set irc.server_default.anti_flood 0
/set irc.server_default.autorejoin on
/set irc.server_default.autorejoin_delay 5
/spell enable
/set spell.check.default_dict en
/set spell.check.suggestions 3
/set logger.mask.irc $server/$channel-%Y-%m-%d.log
/set script.scripts.download_enabled on
/script install autosort.py go.py colorize_nicks.py listbuffer.py highmon.pl
/bar set buflist priority 2000
/set irc.look.server_buffer independent
/set weechat.bar.status.items "[time],[buffer_last_number],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_zoom+buffer_filter,scroll,[lag],[spell_suggest],completion"
/set irc.ctcp.action ""
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.ping ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.server_default.msg_part ""
/set irc.server_default.msg_quit ""
/set irc.look.color_nicks_in_nicklist on
/set irc.msgbuffer.notice current
/set irc.msgbuffer.whois current
/set irc.look.notice_as_pv auto
/set weechat.color.chat_nick_colors "blue,green,magenta,brown,yellow,lightgreen,cyan,lightcyan,lightblue,lightmagenta,31,35,38,40,49,63,70,80,92,99,112,126,130,138,142,148,160,162,167,169,174,176,178,184,186,210,212,215,247"
/set buflist.format.indent "${color:blue}${if:${merged}?${if:${buffer.prev_buffer.number}!=${buffer.number}?│┌:${if:${buffer.next_buffer.number}==${buffer.number}?│├:${if:${buffer.next_buffer.name}=~^server||${buffer.next_buffer.number}<0?└┴:├┴}}}:${if:${buffer.active}>0?${if:${buffer.next_buffer.name}=~^server?└:${if:${buffer.next_buffer.number}>0?├:└}}:${if:${buffer.next_buffer.name}=~^server? :│}}}─"
/set buflist.format.buffer " ${indent}${format_nick_prefix}${color_hotlist}${format_name} ${if:${buffer.hotlist.3|count}?${buffer.hotlist.3|count}}${if:${buffer.hotlist.2|count}?${if:${buffer.hotlist.3|count}?,}${buffer.hotlist.2|count}}${if:${buffer.hotlist.1|count}?${if:${buffer.hotlist.3|count}||${buffer.hotlist.2|count}?,}${if:${buffer.hotlist.1|count}>=10000?${cut:2,k,${buffer.hotlist.1|count}}:${if:${buffer.hotlist.1|count}>=1000?${cut:1,k,${buffer.hotlist.1|count}}:${buffer.hotlist.1|count}}}}"
/set buflist.format.buffer_current "${color:,4}${format_buffer}"
/set weechat.look.prefix_suffix " "
/set weechat.look.nick_prefix "❬"
/set weechat.look.nick_suffix "❭"
/set weechat.look.buffer_time_format "${color:252}%H:${color:245}%M.${color:240}%S"
/set weechat.look.prefix_join "⟶ "
/set weechat.look.prefix_quit "⟵ "
/set weechat.look.prefix_network "•"
/set weechat.look.prefix_align "none"
/set weechat.color.chat_nick_prefix 240
/set weechat.color.chat_nick_suffix 240
/set weechat.color.chat_host 24
/set weechat.color.chat_highlight white
/set irc.color.reason_quit 244
/set irc.color.topic_new 36
/set irc.color.topic_old 244
/set weechat.completion.nick_completer ""
# stop notifications from stupid ircds (replace NETWORK_NAME_HERE)
/set trigger.trigger.beep.conditions "${tg_displayed} && (${tg_tags} !!- ,notify_none,) && (${tg_tag_nick} != NETWORK_NAME_HERE) && (${tg_msg_pv} || ${tg_highlight})"
# put those stupid notifications from stupid ircds in their own window (replace NETWORK_NAME_HERE)
/set irc.server.NETWORK_NAME_HERE.command "/query NETWORK_NAME_HERE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment