From: Amin Bandali Date: Tue, 3 Jan 2023 18:49:36 +0000 (-0500) Subject: * .emacs.d/init.el: Update mode-line time and battery format. X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/4a76be499f05465a1b65c884778bd81314f5f22f?ds=sidebyside;hp=53edeec7b6f8ba41c6040f0d849f8b4114f4628c * .emacs.d/init.el: Update mode-line time and battery format. --- diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 7b81064..d9ec432 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -193,7 +193,7 @@ (with-eval-after-load 'time (setq display-time-default-load-average nil - display-time-format " %a %b %-e %-l:%M%P" + display-time-format " %a %Y-%m-%d %-l:%M%P" display-time-mail-icon '(image :type xpm :file "gnus/gnus-pointer.xpm" :ascent center) @@ -207,7 +207,7 @@ (run-with-idle-timer 0.1 nil #'require 'battery) (with-eval-after-load 'battery - (setq battery-mode-line-format " %p%% %t") + (setq battery-mode-line-format " [%p%% %t]") (display-battery-mode)) ;; (with-eval-after-load 'fringe