Function: eca-providers--status-indicator

eca-providers--status-indicator is a natively compiled function defined in eca-providers.el.

Signature

(eca-providers--status-indicator STATUS)

Documentation

Return a colored indicator string for auth STATUS.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-providers.el
;; Status helpers

(defun eca-providers--status-indicator (status)
  "Return a colored indicator string for auth STATUS."
  (pcase status
    ((or "authenticated" "expiring" "expired")
     (propertize "●" 'face 'eca-providers-authenticated-face))
    ("local"         (propertize "●" 'face 'eca-providers-local-face))
    ((or "unauthenticated" "not-running")
     (propertize "○" 'face 'eca-providers-unauthenticated-face))
    (_               (propertize "·" 'face 'shadow))))