From 45240621076ec6c568c0ae5b285138a3d35a66f7 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sat, 8 Dec 2018 18:48:37 +0100 Subject: [PATCH] Battery time in modeline --- emacs/emacs.el | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/emacs/emacs.el b/emacs/emacs.el index a1d3b21..60b3ae9 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -1385,11 +1385,19 @@ signature-file is the path to the file which contains the signature." ;; Powerline theme from Spacemacs (use-package spaceline) +;; fancy-battery +;; Fancy battery display +(use-package fancy-battery + :after spaceline + :config (fance-battery-mode)) + ;; spaceline-all-the-icons ;; A Spaceline Mode Line theme using All The Icons (use-package spaceline-all-the-icons - :after spaceline - :config (spaceline-all-the-icons-theme)) + :after fancy-battery + :config + (spaceline-all-the-icons-theme) + (spaceline-toggle-all-the-icons-battery-status-on)) ;; Doom theme ;; https://github.com/hlissner/emacs-doom-themes