This commit is contained in:
Vaxry 2024-07-03 22:11:57 +02:00
parent d087e688a7
commit 6229ac01ac
1 changed files with 1 additions and 2 deletions

View File

@ -640,8 +640,7 @@ void CCompositor::startCompositor(std::string socketName, int socketFd) {
signal(SIGPIPE, SIG_IGN);
// TODO:
if (false /* Session-less Hyprland usually means a nest, don't update the env in that case */) {
if (m_pAqBackend->hasSession() /* Session-less Hyprland usually means a nest, don't update the env in that case */) {
const auto CMD =
#ifdef USES_SYSTEMD
"systemctl --user import-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME PATH XDG_DATA_DIRS && hash "