From e602de376faa029e9ff7bb1240b60b0c73bf97e0 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 30 Apr 2018 18:36:53 -0400 Subject: [PATCH] [emacs] display time and battery in mode-line --- init.org | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/init.org b/init.org index b19ffe2..96a9d6f 100644 --- a/init.org +++ b/init.org @@ -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 -- 2.20.1