My most recent customization/tweak to a script that isn't really mine:
https://github.com/leomeloxp/dotfile...enbox/obmpc.sh
Change the denominator of "slice1" and the put the same number in the loop in order to have more or less time slices. It seems there may be something somewhat wrong with the maths, but seems to work nevertheless.
Code:
echo " <separator />"
dur=$(mpc -f %time% | head -n 1)
...