summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el20
1 files changed, 11 insertions, 9 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 2abf0fa..8802071 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -395,16 +395,18 @@ For disabling the behaviour for certain buffers and/or modes."
(global-auto-revert-non-file-buffers nil))
;; time and battery in mode-line
-(comment
- (use-feature time
- :init
- (setq display-time-default-load-average nil)
- :config
- (display-time-mode))
+(use-feature time
+ :config
+ (display-time-mode)
+ :custom
+ (display-time-default-load-average nil)
+ (display-time-format "%a %b %-e, %-l:%M%P"))
- (use-feature battery
- :config
- (display-battery-mode)))
+(use-feature battery
+ :config
+ (display-battery-mode)
+ :custom
+ (battery-mode-line-format " %b%p%% %t"))
(use-feature fringe
:demand