configuration/local/bin/quodinfo

9 lines
152 B
Plaintext
Raw Normal View History

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