diff options
Diffstat (limited to 'naviel.el')
| -rwxr-xr-x | naviel.el | 27 |
1 files changed, 14 insertions, 13 deletions
@@ -659,17 +659,20 @@ (state (if naviel--paused (propertize "⏸ paused" 'face 'naviel-paused-face) (propertize "▶ playing" 'face 'naviel-now-playing-face)))) - (insert (format " %s\n\n" state)) - (insert (format " %s %s\n" - (propertize "Title:" 'face 'naviel-radio-face) - (propertize (naviel--trunc title (min 52 (- w 4))) - 'face 'naviel-now-playing-face))) - (insert (format " %s %s\n" - (propertize "By:" 'face 'naviel-radio-face) - (propertize (naviel--trunc artist 40) 'face 'naviel-artist-face))) - (insert (format " %s %s\n\n" - (propertize "In:" 'face 'naviel-radio-face) - (propertize (naviel--trunc album 40) 'face 'naviel-album-face))) + (if naviel--paused + (insert (format " %s\n\n" state)) + (progn (insert (format " %s %s\n" + (propertize "Title:" 'face 'naviel-radio-face) + (propertize (naviel--trunc title (min 52 (- w 4))) + 'face 'naviel-now-playing-face))) + (insert (format " %s %s\n" + (propertize "By:" 'face 'naviel-radio-face) + (propertize (naviel--trunc artist 40) 'face 'naviel-artist-face))) + (insert (format " %s %s\n\n" + (propertize "In:" 'face 'naviel-radio-face) + (propertize (naviel--trunc album 40) 'face 'naviel-album-face))) + )) + ;; ── Progress bar ── (let* ((elap naviel--elapsed) @@ -705,8 +708,6 @@ (defun naviel--player-insert-lyrics () "Insert the lyrics section into the player buffer." (insert (propertize " Lyrics\n" 'face 'naviel-breadcrumb-face)) - (insert (propertize (make-string 30 ?╌) 'face 'naviel-separator-face)) - (insert "\n\n") (cond ;; Synced lyrics (naviel--lrc-lines |
