summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el
index a6de341..ca6df49 100644
--- a/init.el
+++ b/init.el
@@ -525,7 +525,8 @@
battery-mode-line-format " 🔋%b%p% "))
(with-eval-after-load "jao-minibuffer"
- (when jao-mode-line-in-minibuffer
+ (if jao-mode-line-in-minibuffer
+ (display-battery-mode 1)
(jao-minibuffer-add-variable 'battery-mode-line-string 80)))
;;; Notifications