Display battery in modeline

This commit is contained in:
Antoine Martin 2020-04-15 09:52:00 +02:00
parent 91274e4bc7
commit eecc114a9b

View file

@ -4,6 +4,7 @@
- [[#font][Font]]
- [[#theme][Theme]]
- [[#line-numbers][Line numbers]]
- [[#battery-indicator][Battery indicator]]
- [[#programming][Programming]]
- [[#lsp][LSP]]
- [[#rust][Rust]]
@ -64,6 +65,14 @@ Possible values of =display-line-numbers-type= are =nil=, =t=, and ='relative=.
(setq display-line-numbers-type 'relative)
#+END_SRC
** Battery indicator
I'm on a laptop, so let's display my battery in the modeline:
#+BEGIN_SRC emacs-lisp
(display-battery-mode 1)
#+END_SRC
* Programming
** LSP