diff --git a/neofetch b/neofetch index 58feadc7..f2290aed 100755 --- a/neofetch +++ b/neofetch @@ -1231,6 +1231,12 @@ getsong() { awk -F 'string "' '{printf $2}')" state="${state//\"}" + elif [ -n "$(ps x | awk '!(/awk/) && /banshee/')" ]; then + artist="$(banshee --query-artist | awk -F':' '{print $2}')" + title="$(banshee --query-title | awk -F':' '{print $2}')" + song="$artist - $title" + state="$(banshee --query-current-state | awk -F':' '{print $2}')" + else song="Not Playing" fi