From b315d05bd66d5ccece5ca597a7521fcdcb4f6a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sat, 22 Aug 2026 20:28:07 +0300 Subject: [PATCH] feat(env): theme Qt apps started by systemd --user kdeconnectd runs as an XDG-autostart systemd user unit, not as a child of the compositor, so the QT_QPA_PLATFORMTHEME=gtk3 set in niri/hyprland never reached it and its file-transfer dialog rendered with the default Qt palette instead of the wallust-tinted GTK3 one. environment.d is read by the user manager itself, so autostart and D-Bus-activated services inherit it too. --- .config/environment.d/10-qt-theme.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .config/environment.d/10-qt-theme.conf diff --git a/.config/environment.d/10-qt-theme.conf b/.config/environment.d/10-qt-theme.conf new file mode 100644 index 0000000..791a3f0 --- /dev/null +++ b/.config/environment.d/10-qt-theme.conf @@ -0,0 +1,6 @@ +# Read by the systemd --user manager at login, so it reaches services that are +# NOT children of the compositor (XDG-autostart units, D-Bus activation). +# The compositor env blocks (niri config.kdl / hyprland.conf) only cover +# processes spawned by the compositor itself, which is why kdeconnectd came up +# with the default Qt palette instead of the wallust-tinted GTK3 one. +QT_QPA_PLATFORMTHEME=gtk3