From 4d6daff2579f5d40999957c9e663dd248c4d280c Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Tue, 12 Dec 2017 15:41:20 -0500 Subject: [PATCH] [emacs] Display time & battery status --- .emacs.d/emacs.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.emacs.d/emacs.org b/.emacs.d/emacs.org index 9e2afaf..b58c990 100644 --- a/.emacs.d/emacs.org +++ b/.emacs.d/emacs.org @@ -28,6 +28,18 @@ Visualize the current position within the buffer in the modeline with nyancat! (nyan-mode) (nyan-start-animation)) #+END_SRC +** Display Time & Battery Status +#+name: look-and-feel +#+BEGIN_SRC emacs-lisp + (setq battery-mode-line-format + "[%b%p%%%% (%t)]") + + (display-battery-mode t) + (display-time-mode t) + + (use-package fancy-battery-mode + :ensure t) +#+END_SRC ** Theme #+name: look-and-feel #+BEGIN_SRC emacs-lisp