aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xriverrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/riverrc b/riverrc
index f530e3b..ff87eb1 100755
--- a/riverrc
+++ b/riverrc
@@ -152,8 +152,16 @@ riverctl spawn "swaybg -i ~/.wallpaper"
riverctl spawn waybar
+killall -qw pipewire
riverctl spawn pipewire
+while [ -z "$(pgrep -x pipewire)" ]; do false; done
+
+killall -qw pipewire-pulse
riverctl spawn pipewire-pulse
+while [ -z "$(pgrep -x pipewire-pulse)" ]; do false; done
+
+killall -qw wireplumber
riverctl spawn wireplumber
+while [ -z "$(pgrep -x wireplumber)" ]; do false; done
riverctl spawn wired