[Emacs] Try to make doom-modeline show up at init no matter what

This commit is contained in:
2023-08-31 11:32:24 -06:00
parent b58dc847d1
commit ebeeaae1b4
2 changed files with 6 additions and 4 deletions

View File

@@ -4089,6 +4089,7 @@ Ensure all themes that I use are installed:
#+begin_src emacs-lisp
(use-package doom-modeline
:hook (after-init . doom-modeline-mode)
:commands doom-modeline-mode
:custom
(doom-modeline-height 40))
#+end_src
@@ -4229,11 +4230,12 @@ load-theme hook (See the heading below).
(unless (member imalison:dark-theme custom-enabled-themes)
(load-theme imalison:dark-theme t))
(apply 'imalison:appearance args)
(message "running appearance")
(doom-modeline-mode +1)
(setq imalison:default-font-size-pt (face-attribute 'default :height))
(setq imalison:appearance-setup-done t)))
(when (daemonp)
(add-hook 'after-make-frame-functions 'imalison:appearance-setup-hook))
(add-hook 'after-make-frame-functions 'imalison:appearance-setup-hook)
(add-hook 'after-init-hook 'imalison:appearance-setup-hook)
#+END_SRC
* Post Init Custom