* .emacs.d/init.el: Update mode-line time and battery format.
authorAmin Bandali <bandali@gnu.org>
Tue, 3 Jan 2023 18:49:36 +0000 (13:49 -0500)
committerAmin Bandali <bandali@gnu.org>
Tue, 3 Jan 2023 18:49:36 +0000 (13:49 -0500)
.emacs.d/init.el

index 7b81064..d9ec432 100644 (file)
 (with-eval-after-load 'time
   (setq
    display-time-default-load-average nil
 (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)
    display-time-mail-icon '(image :type xpm
                                   :file "gnus/gnus-pointer.xpm"
                                   :ascent center)
 
 (run-with-idle-timer 0.1 nil #'require 'battery)
 (with-eval-after-load 'battery
 
 (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
   (display-battery-mode))
 
 ;; (with-eval-after-load 'fringe