Display battery in modeline
This commit is contained in:
parent
91274e4bc7
commit
eecc114a9b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue