summaryrefslogtreecommitdiff
path: root/.config/s6-rc/xdg-desktop-portal/run
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2024-10-15 13:22:36 -0400
committerSam Nystrom <sam@samnystrom.dev>2024-10-15 13:22:36 -0400
commit8309b395bf3ebd7073644058363cc19450a33e42 (patch)
treee7447f03548d963f375d579a0c624148ffe9c321 /.config/s6-rc/xdg-desktop-portal/run
parent907660d5d80fa03b3bedc455a0bb38ef83cfd60f (diff)
s6: river and stuff
Diffstat (limited to '.config/s6-rc/xdg-desktop-portal/run')
-rwxr-xr-x.config/s6-rc/xdg-desktop-portal/run3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/s6-rc/xdg-desktop-portal/run b/.config/s6-rc/xdg-desktop-portal/run
index b8b6e0f..5c814c3 100755
--- a/.config/s6-rc/xdg-desktop-portal/run
+++ b/.config/s6-rc/xdg-desktop-portal/run
@@ -1,5 +1,6 @@
#!/bin/execlineb -P
fdmove -c 2 1
-s6-envdir ../sway/env
+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