Remove battery display

This commit is contained in:
Evie Litherland-Smith 2024-03-08 15:49:39 +00:00
parent 07ac597627
commit f8894b3dca

View file

@ -234,15 +234,6 @@ Removed in favour of [[https://github.com/catppuccin/emacs][Catppuccin (emacs)]]
:config :config
(doom-modeline-mode +1)) (doom-modeline-mode +1))
#+end_src #+end_src
** Battery state for laptops
#+begin_src emacs-lisp
(require 'battery)
(when (and battery-status-function
(not ( string-match-p "unknown"
( battery-format "%B"
(funcall battery-status-function)))))
(display-battery-mode +1))
#+end_src
* Dashboard * Dashboard
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package dashboard (use-package dashboard