summaryrefslogtreecommitdiff
path: root/.config/emacs/modules/bd--erc.el
blob: 4597fae785b0ffa8467f2b679f71632919c37ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
;;; -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:


(require 'erc)
(with-eval-after-load "erc" (defalias 'erc 'erc-tls))
(use-package erc
  :defer t
  :custom
  (erc-lurker-threshold-time 3600)
  (erc-hide-list '("JOIN" "PART" "QUIT"))
  (erc-server "operationnull.com")
  (erc-nick "Isaz")
  (erc-prompt-for-password t)
  (erc-kill-buffer-on-part t)
  ;; (erc-autojoin-channels-alist '(("libera.chat"
  ;;                                 "#emacs"
  ;;                                 "##furry"
  ;;                                 "#guile"
  ;;                                 "#guix"
  ;;                                 "#parabola")))
  (erc-autojoin-channels-alist nil)
  (erc-fill-function 'erc-fill-static)
  (erc-fill-column 80)
  (erc-fill-static-center 15)
  :config
  (erc-autojoin-mode -1)
  (defvar-local bd/erc-status
      '(:eval
        erc-modified-channels-object))
  (add-to-list 'global-mode-string bd/erc-status))


(provide 'bd--erc)
;;; bd-erc ends here