diff --git a/neofetch b/neofetch index cfaea51b..9ecad5f5 100755 --- a/neofetch +++ b/neofetch @@ -1192,7 +1192,7 @@ getmemory () { # Song {{{ getsong () { - if pgrep "mpd" >/dev/null 2>&1; then + if hash "mpc" >/dev/null 2>&1; then song="$(mpc current 2>/dev/null)" state=$(mpc | awk -F '\\[|\\]' '/\[/ {printf $2}' 2>/dev/null)