From 96653181158a799ba091e76fe66784826da71f9f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 15 Jun 2018 00:11:52 +0200 Subject: feat(look-and-feel): Display battery % in mode-line on adho --- init/look-and-feel.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init/look-and-feel.el b/init/look-and-feel.el index 4c9f7008203b..4dad0334be4f 100644 --- a/init/look-and-feel.el +++ b/init/look-and-feel.el @@ -29,6 +29,10 @@ (font . ,font))) (set-frame-font font t t)) +;; Display battery in mode-line's misc section on adho: +(when (equal "adho" (system-name)) + (display-battery-mode)) + ;; Configure telephone-line (defun telephone-misc-if-last-window () "Renders the mode-line-misc-info string for display in the -- cgit 1.4.1