ui/doom: use initial-frame-alist & better +doom/reset-theme
This commit is contained in:
parent
bb07e84f7a
commit
44e672655d
|
@ -7,6 +7,7 @@
|
|||
(let ((theme (or (car-safe custom-enabled-themes) +doom-theme)))
|
||||
(when theme
|
||||
(mapc #'disable-theme custom-enabled-themes))
|
||||
(load "doom-themes-common.el" nil t)
|
||||
(load-theme theme t)
|
||||
(+doom|refresh-bright-buffers)))
|
||||
|
||||
|
|
|
@ -57,8 +57,8 @@
|
|||
|
||||
;; Dark frames by default
|
||||
(when (display-graphic-p)
|
||||
(push (cons 'background-color (face-background 'default)) default-frame-alist)
|
||||
(push (cons 'foreground-color (face-foreground 'default)) default-frame-alist))
|
||||
(push (cons 'background-color (face-background 'default)) initial-frame-alist)
|
||||
(push (cons 'foreground-color (face-foreground 'default)) initial-frame-alist))
|
||||
|
||||
(defun +doom|buffer-mode-on ()
|
||||
"Enable `doom-buffer-mode' in buffers that are real (see
|
||||
|
|
Loading…
Reference in New Issue
Block a user