mirror of
https://github.com/hyprwm/Hyprland
synced 2025-02-17 00:22:07 +01:00
update dbus env on exec-once dispatches
This commit is contained in:
parent
7bae0823c8
commit
4abc608bc0
1 changed files with 6 additions and 0 deletions
|
@ -1608,6 +1608,12 @@ void CConfigManager::dispatchExecOnce() {
|
||||||
if (firstExecDispatched || isFirstLaunch)
|
if (firstExecDispatched || isFirstLaunch)
|
||||||
return;
|
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");
|
||||||
|
|
||||||
firstExecDispatched = true;
|
firstExecDispatched = true;
|
||||||
|
|
||||||
for (auto& c : firstExecRequests) {
|
for (auto& c : firstExecRequests) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue