Revert "Remove battery display"

This reverts commit f8894b3dca.
This commit is contained in:
Evie Litherland-Smith 2024-03-13 16:58:52 +00:00
parent 9f1be021fe
commit 71f7bb5005

View file

@ -234,6 +234,15 @@ Removed in favour of [[https://github.com/catppuccin/emacs][Catppuccin (emacs)]]
:config
(doom-modeline-mode +1))
#+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
* Zone
#+begin_src emacs-lisp :tangle yes
(use-package zone