From 41ffc15191d335fb3e17b23cd9a463009d289724 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 6 Jun 2021 23:26:28 -0500 Subject: Write function to require private.el --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index ac830c2..357f7da 100644 --- a/init.el +++ b/init.el @@ -46,7 +46,7 @@ (normal-top-level-add-subdirs-to-load-path)) ;;;; Private stuff -(require 'acdw-private) +(acdw/require-private) ;;;; Utility functions and variables -- cgit 1.4.1-21-gabe81 From 411855b816babb3f641c1ffcdf11d4d12a340b32 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 6 Jun 2021 23:28:25 -0500 Subject: Change ERC config --- init.el | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 357f7da..73a7c5d 100644 --- a/init.el +++ b/init.el @@ -262,22 +262,29 @@ erc-button-url-regexp browse-url-button-regexp erc-common-server-suffixes '(("tilde.chat\\'" . "~") ("libera.chat\\'" . "LC")) + erc-default-server "irc.tilde.chat" ; fuck freenode. all my friends hate + ; freenode. + erc-fill-function #'erc-fill-static + erc-fill-static-center 14 erc-header-line-face-method #'erc/update-header-line-show-disconnected erc-hide-list '("JOIN" "NICK" "PART" "QUIT" "MODE" "324" "329" "332" "333" "353" "477") erc-interpret-controls-p t erc-interpret-mirc-color t - erc-join-buffer 'buffer + erc-join-buffer 'bury erc-kill-buffer-on-part t erc-kill-queries-on-quit t erc-kill-server-buffer-on-quit t erc-nick "acdw" - erc-prompt (lambda () (concat (buffer-name) ">")) + erc-prompt (lambda () (acdw-erc/prompt)) erc-prompt-for-password nil ; use ~/.authinfo erc/servers (mapcar #'car erc-autojoin-channels-alist) erc-server-coding-system '(utf-8 . utf-8) erc-track-exclude-types erc-hide-list - erc-track-position-in-mode-line 'before-modes) + erc-track-exclude-server-buffer t + erc-track-position-in-mode-line 'before-modes + erc-track-visibility nil ; only the selected frame + ) ;; Thanks bpalmer! (advice-add 'show-paren-function :around @@ -290,11 +297,12 @@ erc-track-mode erc-truncate-mode) - (setup (:straight erc-hl-nicks) - (with-eval-after-load 'erc - (require 'erc-hl-nicks) - (:option erc-hl-nicks-minimum-contrast-ratio 4.5) - (:hook-into erc-mode)))) + ;; (setup (:straight erc-hl-nicks) + ;; (with-eval-after-load 'erc + ;; (require 'erc-hl-nicks) + ;; (:option erc-hl-nicks-minimum-contrast-ratio 4.5) + ;; (:hook-into erc-mode))) + ) (setup eshell (:also-load acdw-eshell -- cgit 1.4.1-21-gabe81