diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-06-14T22·11+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-06-14T23·15+0200 |
commit | 96653181158a799ba091e76fe66784826da71f9f (patch) | |
tree | c217958b5b32abe5fead1a0cb0b6feadd6ad7006 | |
parent | 5442d6c0fbe634539cdb92710ef5cf1ae722bf3a (diff) |
feat(look-and-feel): Display battery % in mode-line on adho
-rw-r--r-- | init/look-and-feel.el | 4 |
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 |