This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/sh
|
|
|
|
pidof mpd > /dev/null ||
|
|
exit 1
|
|
|
|
mpc status | grep '^\[playing\]' > /dev/null &&
|
|
mpc current -f ' %title% - %artist% ' |
|
|
sed 's/&/and/g' ||
|
|
printf ' '
|
|
|
|
true
|