From f8c4cc9809b219a65fcce9dc2f9e60694c83b621 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 15 Apr 2021 19:31:01 +0100 Subject: battery status in minibuffer --- init.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index 16f4c2f..93aac0e 100644 --- a/init.org +++ b/init.org @@ -286,7 +286,11 @@ battery-echo-area-format "%L %r %B (%p%% load, remaining time %t)" battery-mode-line-format "%b%p ")) - ;; (display-battery-mode 1) + (display-battery-mode 1) + (setq global-mode-string + (delq 'battery-mode-line-string global-mode-string)) + (with-eval-after-load "jao-minibuffer" + (jao-minibuffer-add-variable 'battery-mode-line-string 80)) #+END_SRC * Crypto *** PGP, EPG, passwords -- cgit v1.2.3