#!/bin/bash status=$(quodlibet --status | cut -d' ' -f1) case "$status" in "playing") quodlibet --print-playing "" ;; *) ;; esac