mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 20:45:59 +01:00
dbus: don't update vars in nests
This commit is contained in:
parent
463690a27a
commit
a5a0434fff
1 changed files with 5 additions and 4 deletions
|
@ -1686,10 +1686,11 @@ void CConfigManager::dispatchExecOnce() {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// update dbus env
|
// update dbus env
|
||||||
handleRawExec(
|
if (g_pCompositor->m_sWLRSession)
|
||||||
"",
|
handleRawExec(
|
||||||
"systemctl --user import-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && hash dbus-update-activation-environment 2>/dev/null && "
|
"",
|
||||||
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE");
|
"systemctl --user import-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && hash dbus-update-activation-environment 2>/dev/null && "
|
||||||
|
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE");
|
||||||
|
|
||||||
firstExecDispatched = true;
|
firstExecDispatched = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue