From eecc114a9b4f8c8c7d67175e75efc5069ad3ab92 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 15 Apr 2020 09:52:00 +0200 Subject: [PATCH] Display battery in modeline --- config.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config.org b/config.org index f089fbc..13eca61 100644 --- a/config.org +++ b/config.org @@ -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