diff options
author | Amin Bandali <amin@aminb.org> | 2018-04-30 18:36:53 -0400 |
---|---|---|
committer | Amin Bandali <amin@aminb.org> | 2018-04-30 18:36:53 -0400 |
commit | e602de376faa029e9ff7bb1240b60b0c73bf97e0 (patch) | |
tree | 5e410d835d6ee2bfe2131aa56189500fe85fe715 | |
parent | cd23662469b2cae8d8ccac283fc4b65c61083b45 (diff) | |
download | configs-e602de376faa029e9ff7bb1240b60b0c73bf97e0.tar.gz configs-e602de376faa029e9ff7bb1240b60b0c73bf97e0.tar.xz configs-e602de376faa029e9ff7bb1240b60b0c73bf97e0.zip |
[emacs] display time and battery in mode-line
Diffstat (limited to '')
-rw-r--r-- | init.org | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -346,6 +346,26 @@ See [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.htm ** Defaults +*** Time and battery in mode-line + +Enable displaying time and battery in the mode-line, since I'm not +using the Xfce panel anymore. Also, I don't need to see the load +average on a regular basis, so disable that. + +#+begin_src emacs-lisp +(use-package time + :ensure nil + :init + (setq display-time-default-load-average nil) + :config + (display-time-mode)) + +(use-package battery + :ensure nil + :config + (display-battery-mode)) +#+end_src + *** Smaller fringe Might want to set the fringe to a smaller value, especially if using |