hamacs/ha-irc.org
2021-11-23 16:42:00 -08:00

3.5 KiB

IRC and Bitlbee Interface

A literate programming configuration file for IRC communiction.

Introduction

My IRC needs are basic, so until I really start using Bitlbee heavily (see below), I connect to IRC servers using rcirc, see the Info for rcirc.

Basic configuration settings, include:

  (use-package rcirc
    :init
    (setq rcirc-default-nick "howard-abrams"
          rcirc-enable-authinfo-support t
          rcirc-enable-styles t
          rcirc-enable-late-fix t
          rcirc-enable-emojify t
          rcirc-enable-erc-tweet t
          rcirc-omit-responses '("JOIN" "PART" "QUIT" "NICK" "AWAY")
          rcirc-server-alist '(("howardabrams.com"
                                :port 7777
                                :nick "howard-abrams"
                                :full-name "Howard Abrams")))
   :config
   (rcirc-track-minor-mode 1))

Note the following key-bindings:

C-c C-o
To ignore the unimportant JOIN/PART messages, do this for every channel
C-c C-l
Lower the priority. Chatty, technical channels get this treatment.
C-c TAB
Ignore a channel's notification, do this for #emacs because it is always displayed.

IRC Servers

Gotta jump into the new Libera. This shows how you can contact me, and what channels I like to visit.

  (with-eval-after-load "rcirc"
    (setq rcirc-server-alist '(("irc.libera.chat"
                                :nick "howard-abrams"
                                :full-name "Howard Abrams"
                                :channels ("#emacs"
                                           "#evil-mode"
                                           "#org-mode"
                                           "#openstack-operators"
                                           "#openstack-kolla"
                                           "#openstack-ansible")))))

Display Configuration

Using the Doom Modeline to add notifications:

(setq doom-modeline-irc t)
(setq doom-modeline-irc-stylize 'identity)