Display nick as the object name if available

This commit is contained in:
Milan Zamazal 2022-07-02 09:18:09 +02:00
parent 55977bbc70
commit b54e3e4af6
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ The indicator is displayed only on graphical terminals."
'("application.name")
(let ((prefix (concat (downcase type) ".")))
(mapcar (lambda (suffix) (concat prefix suffix))
'("description" "name"))))))
'("nick" "description" "name"))))))
(or (cl-find-if #'identity
(mapcar (lambda (p) (pw-lib-object-value object p))
description-properties))