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
1 changed files with 3 additions and 0 deletions

View File

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