Remove stray backslash
This commit is contained in:
parent
5f4c7dead8
commit
1b63672d35
2
neofetch
2
neofetch
|
@ -1094,7 +1094,7 @@ getsong () {
|
|||
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 \
|
||||
org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata' |\
|
||||
awk -F 'string "' '/string|array/ {printf "%s",$2; next}{print ""}' |\
|
||||
awk -F '"' '/artist|title/ {printf $2 " - "}'\
|
||||
awk -F '"' '/artist|title/ {printf $2 " - "}'
|
||||
)"
|
||||
song=${song% - }
|
||||
song=${song/'('*}
|
||||
|
|
Reference in New Issue