#!/bin/sh while ! pgrep '^pipewire$'; do echo "Pipewire not running yet." sleep 2 done exec 2>&1 exec pipewire-pulse