mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-25 12:55:00 +00:00
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 \
|
||||
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
Block a user