summary refs log tree commit diff
path: root/.config/rc/init.d/xdg-desktop-portal
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-04-08 13:18:14 +0900
committerRobert Günzler <r@gnzler.io>2026-04-08 13:18:14 +0900
commitb61b58ce2c1371d6f904f108fa7feed3abfbe5c7 (patch)
tree008a5cf54ecbfffb97ddac30e44c8ab224395ab0 /.config/rc/init.d/xdg-desktop-portal
parentd4620f3ac119263fee90bd819eadaf84fc8d50b7 (diff)
*
Automated-commit-by: dots
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/rc/init.d/xdg-desktop-portal')
-rwxr-xr-x.config/rc/init.d/xdg-desktop-portal14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/rc/init.d/xdg-desktop-portal b/.config/rc/init.d/xdg-desktop-portal
new file mode 100755
index 0000000..aeacb00
--- /dev/null
+++ b/.config/rc/init.d/xdg-desktop-portal
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
+
+supervisor=supervise-daemon
+command="/usr/libexec/xdg-desktop-portal"
+command_args="--replace $command_args"
+error_logger="logger -t '${RC_SVCNAME}' -p daemon.error"
+
+depend() {
+	need dbus \
+		xdg-desktop-portal-gtk \
+		xdg-desktop-portal-wlr \
+		xdg-desktop-portal-darkman
+}