summaryrefslogtreecommitdiff
path: root/dot_config/emacs/lisp/irc-config.el
blob: 0a1e4069a2923311b15ea00fee67c45eb467653d (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
(use-package clatter
  :defer t
  :commands clatter-connect
  :bind (:map clatter-mode-map
              ("C-c ."   . clatter-track-switch)
              ("C-c C-." . clatter-track-switch)
              ("C-c :"   . clatter-track-list)
              ("C-c n"   . clatter-nicklist-toggle)
              ("C-c C-n" . clatter-nicklist-toggle))
  :config
  ;; Install cleanup hooks and enable the bundled extras.  Required:
  ;; loading clatter alone has no side effects.
  (clatter-setup)
  ;; Ensure GnuTLS is loaded before connecting.
  (require 'gnutls)
  :custom
  (clatter-track-in-buffer-mode-line t)
  (clatter-message-order 'oldest-first)
  ;; (clatter-timestamp-format "%H:%M:%S")
  (clatter-networks
   `(("Sakamoto"
      :server "irc.sakamoto.network"
      :nick "sayit"
      :username "anon/irc.libera.chat"
      :sasl plain
      :bouncer t
      )
     ("localhost"
      :server "localhost"
      :tls nil
      :port 6667)
     ))
  (clatter-use-auth-source t))

(provide 'irc-config)