diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-12-15 20:59:13 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-12-15 20:59:13 +0000 |
| commit | e1ed8e11cadc35080edc4b5b6add94f2b6c15a8f (patch) | |
| tree | 5d6cf64649dd3ce8c7db0408bf9b656c8f9061e9 /src/Compositor.cpp | |
| parent | 79d8d14fe08fed39e9796a76fcb9833c6b64b1c0 (diff) | |
internal: import qt env to dbus
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 2c7c740e..4f80100a 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -518,13 +518,13 @@ void CCompositor::startCompositor() { signal(SIGPIPE, SIG_IGN); if (m_sWLRSession /* Session-less Hyprland usually means a nest, don't update the env in that case */ && fork() == 0) - execl( - "/bin/sh", "/bin/sh", "-c", + execl("/bin/sh", "/bin/sh", "-c", #ifdef USES_SYSTEMD - "systemctl --user import-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && hash dbus-update-activation-environment 2>/dev/null && " + "systemctl --user import-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME && hash " + "dbus-update-activation-environment 2>/dev/null && " #endif - "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE", - nullptr); + "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE QT_QPA_PLATFORMTHEME", + nullptr); Debug::log(LOG, "Running on WAYLAND_DISPLAY: {}", m_szWLDisplaySocket); |
