literate-config

Literate config. See <a href="../readme.org">readme.org</a> for a better-formatted version
Log | Files | Refs

commit 32fd0afb1a16cf0f00c3d55eae9294b57adc9bcb
parent 01e52306d2b14ddf22ed9e7c7b52b250db8625c4
Author: Crazazy <crazazy@tilde.cafe>
Date:   Thu,  5 Jan 2023 14:21:20 +0100

add more erc defaults

Diffstat:
Memacs.org | 39+++++++++++++++++++++++----------------
1 file changed, 23 insertions(+), 16 deletions(-)

diff --git a/emacs.org b/emacs.org @@ -75,23 +75,30 @@ Also, if you just stumbled accross this at random, there is an easy tangle butto with my preferred nickname #+begin_src emacs-lisp :tangle emacsconfig/extras.el (use-package erc - :custom - (erc-server-reconnect-attempts 10) - (erc-nick "crazazy") - :config - (defmacro irc-quickjoin (servername url &optional nick) - "create a function to quickly join a server. Servers can be joined with M-x SERVERNAME-irc" - `(defun ,(intern (concat (symbol-name servername) "-irc")) (password) - (interactive (list (password-read "Password: "))) - (erc-tls :server ,url - :nick ,(if nick - nick - "crazazy") - :port 6697 - :password password))) + :custom + (erc-server-reconnect-attempts 10) + (erc-nick "crazazy") + (erc-autojoin-channel-alist '(("tilde.chat" + "#cafe" + "#meta") + ("libera.chat" + "#emacs" + "#haskell" + "#systemcrafters"))) + :config + (defmacro irc-quickjoin (servername url &optional nick) + "create a function to quickly join a server. Servers can be joined with M-x SERVERNAME-irc" + `(defun ,(intern (concat (symbol-name servername) "-irc")) (password) + (interactive (list (password-read "Password: "))) + (erc-tls :server ,url + :nick ,(if nick + nick + "crazazy") + :port 6697 + :password password))) - (irc-quickjoin tilde "eu.tilde.chat") - (irc-quickjoin libera "irc.libera.chat")) + (irc-quickjoin tilde "eu.tilde.chat") + (irc-quickjoin libera "irc.libera.chat")) #+end_src *** Dashboard Gives me access to the most recent files I edited, and some other stuff that I don't really care about