rewrite mpc discovery

This commit is contained in:
dawidd6 2017-01-24 00:31:53 +01:00
parent 38cb68b2dd
commit ee41671dec
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

View file

@ -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