summaryrefslogtreecommitdiff
path: root/bin/guiscripts/slmpd
blob: 96d9cd18cb43d62fade199049ef7092876cae7a6 (plain)
1
2
3
4
5
6
#!/bin/sh
if mpc > /dev/null 2>&1 
then
	test "`mpc status %totaltime%`" = "0:00" ||
		echo -n " $(mpc status "%currenttime%/%totaltime%") $(mpc -f "[[%title%]|%file%]" | head -n -2) "
fi