Add basic ERC config including helper function to connect
This commit is contained in:
parent
47bfe14af0
commit
f5f2d6f98f
16
init.el
16
init.el
|
@ -501,6 +501,7 @@
|
||||||
(doom-modeline-mu4e nil) ; Built-in implementation looks nicer
|
(doom-modeline-mu4e nil) ; Built-in implementation looks nicer
|
||||||
(doom-modeline-icon t)
|
(doom-modeline-icon t)
|
||||||
(doom-modeline-irc t)
|
(doom-modeline-irc t)
|
||||||
|
(doom-modeline-irc-buffers t)
|
||||||
(doom-modeline-lsp t)
|
(doom-modeline-lsp t)
|
||||||
(doom-modeline-project-detection 'project)
|
(doom-modeline-project-detection 'project)
|
||||||
(doom-modeline-continuous-word-count-modes '(org-mode
|
(doom-modeline-continuous-word-count-modes '(org-mode
|
||||||
|
@ -1376,6 +1377,21 @@ Calls `project-remember-project-under' for ~/.config/,
|
||||||
(mu4e-icalendar-setup)
|
(mu4e-icalendar-setup)
|
||||||
(gnus-icalendar-org-setup))
|
(gnus-icalendar-org-setup))
|
||||||
|
|
||||||
|
(use-package erc
|
||||||
|
:custom
|
||||||
|
(erc-nick (user-login-name))
|
||||||
|
(erc-user-full-name (user-full-name)))
|
||||||
|
|
||||||
|
(defun my/erc-connect ()
|
||||||
|
"Connect to my ZNC IRC bouncer."
|
||||||
|
(require 'erc)
|
||||||
|
(require 'password-store)
|
||||||
|
(erc-tls
|
||||||
|
:server "xenia.me.uk"
|
||||||
|
:port 6697
|
||||||
|
:nick (concat (erc-compute-nick) "/liberachat")
|
||||||
|
:password (password-store-get 'znc)))
|
||||||
|
|
||||||
(use-package elfeed
|
(use-package elfeed
|
||||||
:bind (("C-c f" . elfeed))
|
:bind (("C-c f" . elfeed))
|
||||||
:hook (elfeed-search-mode . elfeed-update)
|
:hook (elfeed-search-mode . elfeed-update)
|
||||||
|
|
Loading…
Reference in a new issue