diff options
author | vaxerski <[email protected]> | 2023-01-24 14:05:59 +0000 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-01-24 14:05:59 +0000 |
commit | 63babcba36f5506b4da6ee7f92f2491c6e1ff726 (patch) | |
tree | 8898ad3f1844a0d96a938e69c7460882e1bf5535 /src/Compositor.cpp | |
parent | 1cc758778956fd472e3906c88afc5e62438650e1 (diff) | |
download | Hyprland-63babcba36f5506b4da6ee7f92f2491c6e1ff726.tar.gz Hyprland-63babcba36f5506b4da6ee7f92f2491c6e1ff726.zip |
use spawn in dbus-env activation
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index d9f45309..e2bce25b 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -387,7 +387,7 @@ 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", "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE", nullptr); + g_pKeybindManager->spawn("dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE"); Debug::log(LOG, "Running on WAYLAND_DISPLAY: %s", m_szWLDisplaySocket.c_str()); |