From 42048570d434bdf28317c2e3448f7eb869de4cf3 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Sun, 11 Sep 2016 23:37:23 +0700 Subject: [PATCH] Added support for deadbeef --- neofetch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neofetch b/neofetch index 6c1a8981..10eb6237 100755 --- a/neofetch +++ b/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