Add automatic battery display in modeline on laptops/anything with a battery
This commit is contained in:
parent
64f04fb255
commit
f15c364aef
|
@ -202,6 +202,11 @@
|
|||
|
||||
(setq mode-line-compact 'long)
|
||||
#+end_src
|
||||
** Battery state for laptops
|
||||
#+begin_src emacs-lisp
|
||||
(when (battery-upower)
|
||||
(display-battery-mode +1))
|
||||
#+end_src
|
||||
* Zone
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
(use-package zone
|
||||
|
@ -224,4 +229,3 @@
|
|||
(diff-hl-disable-on-remote t)
|
||||
(diff-hl-draw-borders nil))
|
||||
#+end_src
|
||||
|
||||
|
|
Loading…
Reference in a new issue