#!/bin/sh
TEXT_COLOR="#fe8019"
PIPE_FILE="/tmp/pipe-nowplaying"
[ -p "$PIPE_FILE" ] || mkfifo "$PIPE_FILE"
echo "<fc=$TEXT_COLOR>$(mpc | head -n1)</fc>" >"$PIPE_FILE"