Add doom-(pre|post)-reload-theme-hook
This commit is contained in:
parent
7fc9cb5511
commit
cca37f2508
2 changed files with 8 additions and 1 deletions
|
@ -7,6 +7,11 @@
|
|||
(unless doom-theme
|
||||
(setq doom-theme 'doom-one))
|
||||
|
||||
;; Ensure `doom/reload' reloads common faces
|
||||
(defun +doom|reload-theme ()
|
||||
(load "doom-themes-common.el" nil t))
|
||||
(add-hook 'doom-pre-reload-theme-hook #'+doom|reload-theme)
|
||||
|
||||
;; blink mode-line on errors
|
||||
(add-hook 'doom-post-init-hook #'doom-themes-visual-bell-config)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue