#!/bin/bash
while mpc idle; do
	open -g bitbar://refreshPlugin?name=mpd*
done