From 429430a1eaae2a5598b18361390553fc1efb26dc Mon Sep 17 00:00:00 2001 From: fanyx Date: Thu, 9 Mar 2023 10:18:18 +0100 Subject: [PATCH] Set dependencies for pipewire and pipewire-pulse --- .config/sv/pipewire-pulse/run | 5 +++++ .config/sv/pipewire/run | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.config/sv/pipewire-pulse/run b/.config/sv/pipewire-pulse/run index 2d49998..bb10754 100755 --- a/.config/sv/pipewire-pulse/run +++ b/.config/sv/pipewire-pulse/run @@ -1,4 +1,9 @@ #!/bin/sh +while ! pgrep '^pipewire$'; do + echo "Pipewire not running yet." + sleep 2 +done + exec 2>&1 exec pipewire-pulse diff --git a/.config/sv/pipewire/run b/.config/sv/pipewire/run index 3d16645..e7ca22d 100755 --- a/.config/sv/pipewire/run +++ b/.config/sv/pipewire/run @@ -1,4 +1,9 @@ #!/bin/sh +while ! pgrep '^gdm$'; do + echo "GDM not running yet." + sleep 2 +done + exec 2>&1 exec pipewire