What happened?
My doom-modeline seems buggy for several days now. It cannot display time and battery and any indicator I added (e.g. keycast-mode).
What did you expect to happen?
It should work as before.
Steps to reproduce
Here is related code in config.el
:
(after! doom-modeline
(setq doom-modeline-bar-width 4
doom-modeline-major-mode-icon t
doom-modeline-major-mode-color-icon t
doom-modeline-buffer-file-name-style 'auto)
;; time on modeline
(setq display-time-string-forms
'((propertize (concat " 🕘 " 24-hours ":" minutes))))
(display-time-mode t)
;; battery info on modeline (only on laptops)
(let ((battery-str (battery)))
(unless (or (equal "Battery status not available" battery-str)
(string-match-p (regexp-quote "unknown") battery-str)
(string-match-p (regexp-quote "N/A") battery-str))
(display-battery-mode t)))
;; add padding to the right
(doom-modeline-def-modeline 'main
'(bar matches buffer-info remote-host buffer-position parrot selection-info)
'(misc-info checker input-method buffer-encoding major-mode process vcs " ")))
System information
Loading data dump...