rewrite mpc discovery
This commit is contained in:
parent
38cb68b2dd
commit
ee41671dec
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue