[emacs] Display time & battery status

This commit is contained in:
Correl Roush 2017-12-12 15:41:20 -05:00
parent 34425cbc7b
commit 4d6daff257

View file

@ -28,6 +28,18 @@ Visualize the current position within the buffer in the modeline with nyancat!
(nyan-mode) (nyan-mode)
(nyan-start-animation)) (nyan-start-animation))
#+END_SRC #+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 ** Theme
#+name: look-and-feel #+name: look-and-feel
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp