#!/bin/bash if ! pgrep playerctld &> /dev/null; then playerctld & sleep 0.5 fi playerctl "$@"