diff options
| author | Sakamoto <me@sakamoto.network> | 2026-08-16 15:34:00 -0500 |
|---|---|---|
| committer | Sakamoto <me@sakamoto.network> | 2026-08-16 15:34:00 -0500 |
| commit | d51beea88d300cb5066bb92a8148cad52fa1091d (patch) | |
| tree | 4357b4958c19dddd304a0d6ee77994fb9f12c118 /dot_config/emacs/lisp/irc-config.el | |
| parent | a623fed63460d6d810605ce1ce858a58a5b222f7 (diff) | |
| download | dotfiles-d51beea88d300cb5066bb92a8148cad52fa1091d.tar.xz dotfiles-d51beea88d300cb5066bb92a8148cad52fa1091d.zip | |
update
Diffstat (limited to 'dot_config/emacs/lisp/irc-config.el')
| -rw-r--r-- | dot_config/emacs/lisp/irc-config.el | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dot_config/emacs/lisp/irc-config.el b/dot_config/emacs/lisp/irc-config.el new file mode 100644 index 0000000..0a1e406 --- /dev/null +++ b/dot_config/emacs/lisp/irc-config.el @@ -0,0 +1,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) |
