umgeher

Workflow - Weechat

workflow weechat irc

IRC is perfect… Why not use IRC for everything possible? =]

After years using Epic and ircII I surrender to the “modern stuff”. And Weechat is awesome.

  • C
  • multi script languages (perl, python, lua, ruby [ ok, no so great ] and others )
  • remote interfaces
  • custom colors
  • custom bars
  • vertial and horizontal splits
  • GPL3 (mmm, I prefer ISC…)
  • bug-free, well, 3 years using weechat and no single one core file generated…

Ports

I'd install some ports:

  • weechat-lua
  • weechat-python
  • py3-websocket-client (wee_slack's dep)

Dotfile

Well, weechat uses a multi file configuration, so I'll resume my changes…

ss-weechat

Theme

Solarized dark!!! Remember to use the solarized dark colors in your Xresources.

raw!

Binds

To toggle the buflist with Alt + b.

/key bind meta-b /

To toggle the nicklist with Alt + n.

/key bind meta-n /bar toggle nicklist

Scripts

  • autosort.py - automatically keep buffers grouped by server and sorted by name
  • bitlbee_completion.py - add tab completion to bitlbee commands
  • colorize_nicks.py - nick with colors
  • highmon.pl - adds a highlight monitor buffer
  • isgd.pl - shorten URLs with is.gd
  • tmux_env - update weechat env from tmux
  • wee_slack - making slack a little less stupid

Slack

Yeah, I know… Slack… meh. But some times, we need to join the brainless-guys.

In shell…

mkdir -p ~/.weechat/python/autoload
cd ~/.weechat/python
curl -O https://raw.githubusercontent.com/wee-slack/wee-slack/master/wee_slack.py
ln -s ../wee_slack.py autoload

In weechat…

/slack register
/slack register [CODE_FROM_URL]
/python reload slack

And done…