summary refs log tree commit diff
path: root/.config/rc/init.d/xdg-desktop-portal-gtk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.config/rc/init.d/xdg-desktop-portal-gtk11
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/rc/init.d/xdg-desktop-portal-gtk b/.config/rc/init.d/xdg-desktop-portal-gtk
new file mode 100755
index 0000000..91bcae1
--- /dev/null
+++ b/.config/rc/init.d/xdg-desktop-portal-gtk
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
+
+supervisor=supervise-daemon
+command="/usr/libexec/xdg-desktop-portal-gtk"
+command_args="--replace"
+error_logger="logger -t '${RC_SVCNAME}' -p daemon.error"
+
+depend() {
+	need dbus
+}