about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el22
1 files changed, 12 insertions, 10 deletions
diff --git a/init.el b/init.el index 4e4b3e4..4c2e610 100644 --- a/init.el +++ b/init.el
@@ -353,16 +353,18 @@
353 ) 353 )
354 354
355 (with-eval-after-load 'erc 355 (with-eval-after-load 'erc
356 (setup (:straight erc-hl-nicks) 356 (when (acdw/system :work)
357 (:option (append erc-modules) 'hl-nicks 357 ;; IDK why, but on 28 this bit doesn't work -- which is at home.
358 erc-hl-nicks-minimum-contrast-ratio 4.5 358 (setup (:straight erc-hl-nicks)
359 erc-hl-nicks-color-contrast-strategy '(invert contrast)) 359 (:option (append erc-modules) 'hl-nicks
360 (:hook-into erc-mode) 360 erc-hl-nicks-minimum-contrast-ratio 4.5
361 ;; Refresh nick colors after changing modus theme 361 erc-hl-nicks-color-contrast-strategy '(invert contrast))
362 ;; Ideally, there'd be a hook for /any/ time we changed theme... but 362 (:hook-into erc-mode)
363 ;; whatever. 363 ;; Refresh nick colors after changing modus theme
364 (add-hook 'modus-themes-after-load-theme-hook 364 ;; Ideally, there'd be a hook for /any/ time we changed theme... but
365 #'erc-hl-nicks-refresh-colors)) 365 ;; whatever.
366 (add-hook 'modus-themes-after-load-theme-hook
367 #'erc-hl-nicks-refresh-colors)))
366 368
367 ;; (setup (:straight erc-image) 369 ;; (setup (:straight erc-image)
368 ;; (:option (append erc-modules) 'image 370 ;; (:option (append erc-modules) 'image