1 2 3 4 5 6
#!/bin/bash if [ -f /tmp/mpvout ]; then echo -n "mpv: " tail -1 /tmp/mpvout | tr -d '\n' fi