summaryrefslogtreecommitdiff
path: root/.config/s6-rc/xdg-desktop-portal/run
diff options
context:
space:
mode:
Diffstat (limited to '.config/s6-rc/xdg-desktop-portal/run')
-rwxr-xr-x.config/s6-rc/xdg-desktop-portal/run6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/s6-rc/xdg-desktop-portal/run b/.config/s6-rc/xdg-desktop-portal/run
new file mode 100755
index 0000000..5c814c3
--- /dev/null
+++ b/.config/s6-rc/xdg-desktop-portal/run
@@ -0,0 +1,6 @@
+#!/bin/execlineb -P
+fdmove -c 2 1
+importas -i XDG_RUNTIME_DIR XDG_RUNTIME_DIR
+s6-envdir ${XDG_RUNTIME_DIR}/wl_env
+dbus-waiter -n3 -b org.freedesktop.portal.Desktop
+/usr/libexec/xdg-desktop-portal