Music Player Daemon Community Wiki


525pages on
this wiki
Add New Page
Add New Page Talk0

Use it with dzen to show a nice output of mpc at the top of the screen (you can modify this if you know how to use dzen well, i just dled it xD):

mpc $opt &> /dev/null 
title="`mpc --format \"[[%artist%  - ]%title%]\" | head -n 1`"
status="`mpc | head -n 2 | tail -n 1`"
volume="`mpc | tail -n 1`"
message="$title -- $status -- $volume" 
echo $message
(echo $message; sleep 2) | dzen2 -u

Also on Fandom

Random Wiki