about summary refs log tree commit diff
path: root/init/look-and-feel.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-06-14T22·11+0200
committerVincent Ambo <tazjin@gmail.com>2018-06-14T23·15+0200
commit96653181158a799ba091e76fe66784826da71f9f (patch)
treec217958b5b32abe5fead1a0cb0b6feadd6ad7006 /init/look-and-feel.el
parent5442d6c0fbe634539cdb92710ef5cf1ae722bf3a (diff)
feat(look-and-feel): Display battery % in mode-line on adho
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 4c9f700820..4dad0334be 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