Add and configure doom-modeline again

This commit is contained in:
Evie Litherland-Smith 2024-02-29 14:37:49 +00:00
parent aba476926e
commit 49e242236e

View file

@ -198,10 +198,32 @@
(setq mode-line-compact 'long) (setq mode-line-compact 'long)
#+end_src #+end_src
** doom-modeline
#+begin_src emacs-lisp
(use-package doom-modeline
:ensure t
:after modus-themes
:custom
(doom-modeline-checker-simple-format nil)
(doom-modeline-enable-word-count t)
(doom-modeline-env-version nil)
(doom-modeline-github nil)
(doom-modeline-gnus t)
(doom-modeline-icon t)
(doom-modeline-irc t)
(doom-modeline-lsp t)
(doom-modeline-project-detection 'project)
(doom-modeline-continuous-word-count-modes '(org-mode
markdown-mode
gfm-mode))
:config
(doom-modeline +1))
#+end_src
** Battery state for laptops ** Battery state for laptops
#+begin_src emacs-lisp #+begin_src emacs-lisp
(with-eval-after-load 'battery
(when (battery-upower) (when (battery-upower)
(display-battery-mode +1)) (display-battery-mode +1)))
#+end_src #+end_src
* Dashboard * Dashboard
#+begin_src emacs-lisp #+begin_src emacs-lisp