diff --git a/.config/river/init b/.config/river/init index aac8315..dc26ea5 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-run" +riverctl spawn "pgrep -x pipewire || pipewire" riverctl spawn "/usr/libexec/xdg-desktop-portal-wlr" ~/.config/river/load-colors diff --git a/.local/bin/pipewire-run b/.local/bin/pipewire-run deleted file mode 100755 index 7a079c1..0000000 --- a/.local/bin/pipewire-run +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -# pgrep -x pipewire && exit 0 -killall pipewire -exec pipewire