diff --git a/neofetch b/neofetch index 134e62d2..18175d38 100755 --- a/neofetch +++ b/neofetch @@ -1334,7 +1334,7 @@ get_song() { ;; *) - if type -p mpc >/dev/null; then song="$(mpc current)"; fi + mpc >/dev/null 2>&1 && song="$(mpc current)" ;; esac