From 1aa94aa866c2600a37016e133e68a08373ac7d34 Mon Sep 17 00:00:00 2001
From: Marty Oehme <marty.oehme@gmail.com>
Date: Sun, 23 Feb 2025 20:03:58 +0100
Subject: [PATCH] HACK: river: Autostart pipewire on non-systemd systems

This is a temporary adjustment to start pipewire as a user process when
river starts up, targeting my new voidlinux installation. Ideally, we
want to have runit user services up and running and being responsible
for maintaining a running pipewire instance but until that is set up we
can simply start it with river.
---
 desktop/.config/river/init | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/desktop/.config/river/init b/desktop/.config/river/init
index 093fc0b..c219a99 100755
--- a/desktop/.config/river/init
+++ b/desktop/.config/river/init
@@ -343,6 +343,8 @@ should_start swayidle && riverctl spawn "swayidle \
 
 should_start wl-paste && riverctl spawn "wl-paste -t text --watch clipman store"
 
+should_start pipewire && riverctl spawn pipewire
+
 # bash ~/.config/bin/gtktheme # setting our gtk variables
 # killall polkit-gnome-authentication-agent-1
 # /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &