Add and configure doom-modeline again
This commit is contained in:
parent
aba476926e
commit
49e242236e
|
@ -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
|
||||
(when (battery-upower)
|
||||
(display-battery-mode +1))
|
||||
(with-eval-after-load 'battery
|
||||
(when (battery-upower)
|
||||
(display-battery-mode +1)))
|
||||
#+end_src
|
||||
* Dashboard
|
||||
#+begin_src emacs-lisp
|
||||
|
|
Loading…
Reference in a new issue