From b9520300110a5783d97591e16ef8350d203438e2 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 17 Feb 2017 10:23:12 +1100 Subject: [PATCH] Song: Use audtool before falling back to dbus --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 814a8772..300a26cf 100755 --- a/neofetch +++ b/neofetch @@ -1290,7 +1290,7 @@ get_song() { "deadbeef"*) song="$(deadbeef --nowplaying-tf '%artist% - %title%')" ;; "xmms2d"*) song="$(xmms2 current -f '${artist} - ${title}')" ;; "qmmp"*) song="$(qmmp --nowplaying '%p - %t')" ;; - "audacious"*) get_song_dbus "audacious" ;; + "audacious"*) audtool current-song || get_song_dbus "audacious" ;; "gnome-music"*) get_song_dbus "GnomeMusic" ;; "lollypop"*) get_song_dbus "Lollypop" ;; "clementine"*) get_song_dbus "clementine" ;;