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)
#+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
#+begin_src emacs-lisp
(with-eval-after-load 'battery
(when (battery-upower)
(display-battery-mode +1))
(display-battery-mode +1)))
#+end_src
* Dashboard
#+begin_src emacs-lisp