User Tools

Site Tools


resources:software:weechat

Weechat is an irc client.

Configuration Snippets

When making changes to your Weechat configuration, don't forget to <code>/save</code> or all your changes will disappear next time you run Weechat.

Here are some configuration snippets that may be useful to you:

Buffer and Nick List

The following will help out with a far more usable buffer and nick list:

/script install buffers.pl colorize_nicks.py
/set buffers.look.hide_merged_buffers all
/set weechat.bar.buffers.items buffers
/key bind meta-n /bar toggle nicklist

Using Solarized

The following will make Weechat a lot easier to read with the Solarized theme:

/set weechat.bar.status.color_bg 0
/set weechat.bar.title.color_bg 0
/set weechat.color.chat_nick_colors 1,2,3,4,5,6
/set buffers.color.hotlist_message_fg 15
/set weechat.bar.buffers.position top

Visual Tweaks

/set weechat.look.prefix_same_nick "⤷"
/set weechat.look.prefix_error "⚠"
/set weechat.look.prefix_network "ℹ "
/set weechat.look.prefix_action "⚡"
/set weechat.look.bar_more_down "▼▼"
/set weechat.look.bar_more_left "◀◀"
/set weechat.look.bar_more_right "▶▶"
/set weechat.look.bar_more_up "▲▲"
/set weechat.look.prefix_suffix "╡"

Cut Out Useless Notifications

Only on message, not join/part:

 /set weechat.look.buffer_notify_default message

Hide joins/parts where they're not useful:

/set irc.look.smart_filter on
/filter add irc_smart * irc_smart_filter *

If you're in big channels, only notify on highlight:

/set weechat.notify.irc.oftc.#debian-devel highlight

ZNC Specific

Allow /znc:

/alias add znc /quote znc

Covert ZNC *status PRIVMSGs to NOTICEs:

/script install zncnotice.py

Bitlbee Specific

bitlbee is an IRC gateway for a variety of other protocols.

Highlight on your Twitter handle, ignore otherwise:

/script install buffer_autoset.py
/set weechat.notify.irc.bitlbee.#twitter_iainlearmonth highlight
/buffer_autoset add irc.bitlbee.#twitter_iainlearmonth highlight_regex iainlearmonth

I don't care about Mozilla's podcast:

/buffer_autoset add irc.bitlbee.#twitter_iainlearmonth no_highlight_nicks_add mozilla

External Links

resources/software/weechat.txt · Last modified: 2020/07/07 20:48 by 127.0.0.1