Added support for deadbeef
This commit is contained in:
parent
7a7e7aeb1f
commit
42048570d4
1 changed files with 3 additions and 0 deletions
3
neofetch
3
neofetch
|
@ -1242,6 +1242,9 @@ getsong() {
|
|||
title="$(qdbus org.kde.amarok /Player GetMetadata | awk -F':' '/title/ {print $2}')"
|
||||
song="$artist - $title"
|
||||
|
||||
elif [ -n "$(ps x | awk '!(/awk/) && /deadbeef/')" ]; then
|
||||
song="$(deadbeef --nowplaying '%a - %t')"
|
||||
|
||||
else
|
||||
song="Not Playing"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue