mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 04:22:32 +00:00
Song: Use audtool before falling back to dbus
This commit is contained in:
2
neofetch
2
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" ;;
|
||||
|
||||
Reference in New Issue
Block a user