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

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

View File

@ -1,5 +1,5 @@
[Settings] [Settings]
gtk-application-prefer-dark-theme=false gtk-application-prefer-dark-theme=true
gtk-button-images=true gtk-button-images=true
gtk-cursor-theme-name=breeze_cursors gtk-cursor-theme-name=breeze_cursors
gtk-cursor-theme-size=24 gtk-cursor-theme-size=24
@ -9,7 +9,7 @@ gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1 gtk-enable-input-feedback-sounds=1
gtk-fallback-icon-theme=gnome gtk-fallback-icon-theme=gnome
gtk-font-name=Noto Sans, 10 gtk-font-name=Noto Sans, 10
gtk-icon-theme-name=Numix-Circle gtk-icon-theme-name=breeze-dark
gtk-key-theme-name=Emacs gtk-key-theme-name=Emacs
gtk-menu-images=true gtk-menu-images=true
gtk-modules=colorreload-gtk-module gtk-modules=colorreload-gtk-module

View File

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