Remove race from xdg-desktop-portal launch.

Caused by the dbus daemon not being aware of WAYLAND_DISPLAY.
This commit is contained in:
Érico Nogueira 2022-01-04 04:04:59 -03:00
parent 49772f7573
commit b3ac17d3db
2 changed files with 1 additions and 2 deletions

View File

@ -1,3 +1,4 @@
#!/bin/execlineb -P
foreground { dbus-update-activation-environment WAYLAND_DISPLAY }
importas HOME HOME
s6-svscan ${HOME}/services

View File

@ -1,4 +1,2 @@
#!/bin/execlineb -P
# wait on xdpw
foreground { sleep 4 }
/usr/libexec/xdg-desktop-portal -r