Remove battery display
This commit is contained in:
parent
07ac597627
commit
f8894b3dca
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue