parent
9f1be021fe
commit
71f7bb5005
|
@ -234,6 +234,15 @@ 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
|
||||||
* Zone
|
* Zone
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
(use-package zone
|
(use-package zone
|
||||||
|
|
Loading…
Reference in a new issue