Song: Add support for Audacious. @ncmprhnsbl

This commit is contained in:
Dylan Araps 2016-10-22 15:11:52 +11:00
parent 92595e8bc6
commit 0fb2b661ba

View file

@ -1277,6 +1277,9 @@ getsong() {
elif [ -n "$(ps x | awk '!(/awk/) && /deadbeef/')" ]; then elif [ -n "$(ps x | awk '!(/awk/) && /deadbeef/')" ]; then
song="$(deadbeef --nowplaying '%a - %t')" song="$(deadbeef --nowplaying '%a - %t')"
elif [ -n "$(ps x | awk '!(/awk/) && /audacious/')" ]; then
song="$(audtool current-song)"
else else
song="Not Playing" song="Not Playing"
fi fi