From 176fe42f03b135d61062b4be8ee251c20c6ed1ed Mon Sep 17 00:00:00 2001 From: Dylan Date: Thu, 17 Mar 2016 16:16:15 +1100 Subject: [PATCH] Fix stdout mode with getsong --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index db34b5d5..185bb628 100755 --- a/neofetch +++ b/neofetch @@ -1247,7 +1247,7 @@ getsong () { esac # Display Artist and Title on seperate lines. - if [ "$song_shorthand" == "on" ]; then + if [ "$song_shorthand" == "on" ] && [ "$stdout_mode" != "on" ]; then artist="${song/ -*}" song=${song/$artist - }