kill pipewire before starting another one
This commit is contained in:
parent
d3192d91fe
commit
d81792f96c
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
4
.local/bin/pipewire-run
Executable file
4
.local/bin/pipewire-run
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
# pgrep -x pipewire && exit 0
|
||||
killall pipewire
|
||||
exec pipewire
|
Loading…
Reference in a new issue