mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 18:29:50 +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;
|
||||
|
||||
// update dbus env
|
||||
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");
|
||||
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");
|
||||
|
||||
firstExecDispatched = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue