#!/bin/sh

if [[ $(playerctl metadata --format '{{lc(status)}}' | grep playing) -eq 0 ]]; then
    exit 0
else
    exit 1
fi