diff --git a/.config/river/init b/.config/river/init index 5b8ca47..aac8315 100755 --- a/.config/river/init +++ b/.config/river/init @@ -1,7 +1,7 @@ #!/bin/sh dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river -riverctl spawn "pipewire" +riverctl spawn "pipewire-run" riverctl spawn "/usr/libexec/xdg-desktop-portal-wlr" ~/.config/river/load-colors diff --git a/.local/bin/pipewire-run b/.local/bin/pipewire-run new file mode 100755 index 0000000..7a079c1 --- /dev/null +++ b/.local/bin/pipewire-run @@ -0,0 +1,4 @@ +#!/bin/sh +# pgrep -x pipewire && exit 0 +killall pipewire +exec pipewire