about summary refs log tree commit diff
path: root/init/look-and-feel.el
diff options
context:
space:
mode:
Diffstat (limited to 'init/look-and-feel.el')
-rw-r--r--init/look-and-feel.el4
1 files changed, 4 insertions, 0 deletions
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