Remove stray backslash
This commit is contained in:
2
neofetch
2
neofetch
@@ -1094,7 +1094,7 @@ getsong () {
|
|||||||
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 \
|
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 \
|
||||||
org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata' |\
|
org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata' |\
|
||||||
awk -F 'string "' '/string|array/ {printf "%s",$2; next}{print ""}' |\
|
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% - }
|
||||||
song=${song/'('*}
|
song=${song/'('*}
|
||||||
|
|||||||
Reference in New Issue
Block a user