Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
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):
smpc.sh: #!/bin/bash opt=$@ 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