Fix stdout mode with getsong
This commit is contained in:
parent
c02619616f
commit
176fe42f03
2
neofetch
2
neofetch
|
@ -1247,7 +1247,7 @@ getsong () {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Display Artist and Title on seperate lines.
|
# Display Artist and Title on seperate lines.
|
||||||
if [ "$song_shorthand" == "on" ]; then
|
if [ "$song_shorthand" == "on" ] && [ "$stdout_mode" != "on" ]; then
|
||||||
artist="${song/ -*}"
|
artist="${song/ -*}"
|
||||||
song=${song/$artist - }
|
song=${song/$artist - }
|
||||||
|
|
||||||
|
|
Reference in New Issue