From 91eed7409214254190346d620f6162cfea9457b2 Mon Sep 17 00:00:00 2001 From: luc Date: Wed, 5 Aug 2026 11:03:18 +0200 Subject: [PATCH] dotconfig/rc: fixed xdg-desktop-portal-wlr --- dotconfig/rc/init.d/xdg-desktop-portal-wlr | 4 ++++ dotconfig/rc/rc.conf | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dotconfig/rc/init.d/xdg-desktop-portal-wlr b/dotconfig/rc/init.d/xdg-desktop-portal-wlr index a104300..79e6575 100755 --- a/dotconfig/rc/init.d/xdg-desktop-portal-wlr +++ b/dotconfig/rc/init.d/xdg-desktop-portal-wlr @@ -5,5 +5,9 @@ depend() { need audio-session } +start_pre() { + pkill -xf "/usr/libexec/xdg-desktop-portal" +} + supervisor=supervise-daemon command="/usr/libexec/xdg-desktop-portal-wlr" diff --git a/dotconfig/rc/rc.conf b/dotconfig/rc/rc.conf index 25ffa8d..79b84de 100644 --- a/dotconfig/rc/rc.conf +++ b/dotconfig/rc/rc.conf @@ -1 +1 @@ -rc_env_allow="WAYLAND_DISPLAY" +rc_env_allow="WAYLAND_DISPLAY DISPLAY QT_QPA_PLATFORM XDG_CURRENT_DESKTOP"