summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2018-04-30 18:36:53 -0400
committerAmin Bandali <amin@aminb.org>2018-04-30 18:36:53 -0400
commite602de376faa029e9ff7bb1240b60b0c73bf97e0 (patch)
tree5e410d835d6ee2bfe2131aa56189500fe85fe715
parentcd23662469b2cae8d8ccac283fc4b65c61083b45 (diff)
downloadconfigs-e602de376faa029e9ff7bb1240b60b0c73bf97e0.tar.gz
configs-e602de376faa029e9ff7bb1240b60b0c73bf97e0.tar.xz
configs-e602de376faa029e9ff7bb1240b60b0c73bf97e0.zip
[emacs] display time and battery in mode-line
-rw-r--r--init.org20
1 files changed, 20 insertions, 0 deletions
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