Fix stdout mode with getsong
This commit is contained in:
parent
c02619616f
commit
176fe42f03
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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 - }
|
||||
|
||||
|
|
Loading…
Reference in a new issue