From e85a6a03f1eb81b60aeea09544ba5be20ac2c2cd Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Tue, 30 Oct 2018 07:53:54 +0100 Subject: [PATCH] song: also quote xesam:title in get_song_dbus matching --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 484c47b3..164d0b5f 100755 --- a/neofetch +++ b/neofetch @@ -2374,7 +2374,7 @@ get_song() { org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' \ string:'Metadata' |\ awk -F '"' 'BEGIN {RS=" entry"}; /"xesam:artist"/ {a = $4} /"xesam:album"/ {b = $4} - /xesam:title/ {t = $4} END {print a "\n" b "\n" t}' + /"xesam:title"/ {t = $4} END {print a "\n" b "\n" t}' )" }