Function: doom-modeline-segment--time
doom-modeline-segment--time is a natively compiled function defined in
doom-modeline-segments.el.
Signature
(doom-modeline-segment--time)
Documentation
time modeline segment
Source Code
;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
(doom-modeline-def-segment time
(when (and doom-modeline-time
(bound-and-true-p display-time-mode)
(doom-modeline--segment-visible 'time))
(concat
(doom-modeline-spc)
(when doom-modeline-time-icon
(concat
(doom-modeline-time-icon)
(and (or doom-modeline-icon doom-modeline-unicode-fallback)
(doom-modeline-vspc))))
(propertize display-time-string
'face (doom-modeline-face 'doom-modeline-time)))))