From 8884b19e82eda578e161d85725b90b8a3ac7f761 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 26 Jan 2017 16:37:52 +1100 Subject: [PATCH] Song: Fix album name being used as artist name --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index cf78c057..1c23d061 100755 --- a/neofetch +++ b/neofetch @@ -1342,7 +1342,7 @@ get_song() { # Display Artist and Title on separate lines. if [[ "$song_shorthand" == "on" ]]; then artist="${song/ -*}" - song="${song/$artist - }" + song="${song/*-}" if [[ "$song" != "$artist" ]]; then prin "Artist" "$artist"