diff --git a/config/ui.org b/config/ui.org index b5bf45b..9db1367 100644 --- a/config/ui.org +++ b/config/ui.org @@ -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