mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43:10 -05:00
Wait on xdg-desktop-portal
This commit is contained in:
parent
968d4eb347
commit
398b98861f
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@ while pgrep -u $UID -x wireplumber >/dev/null; do sleep 1; done
|
|||
while pgrep -u $UID -x pipewire >/dev/null; do sleep 1; done
|
||||
while pgrep -u $UID -x pipewire-pulse >/dev/null; do sleep 1; done
|
||||
|
||||
# Wait for xdg-desktop-portal to start
|
||||
until pgrep -u $UID -f /usr/lib/xdg-desktop-portal >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch pipewire
|
||||
echo "---" | tee -a /tmp/{wireplumber.log,pipewire.log,pipewire-pulse.log}
|
||||
/usr/bin/wireplumber 2>&1 | tee -a /tmp/wireplumber.log & disown
|
||||
|
|
Loading…
Reference in a new issue