diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-12-21 22:27:12 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-12-21 22:27:12 +0100 |
| commit | bd952dcef2ead3b0b7e2d730930a3fc528813ee0 (patch) | |
| tree | 231401dbdb3567649e24f389aad9aa5bf5392583 /src/main.cpp | |
| parent | bc51a91043a6405834854d8a13e8e8ac45ea5737 (diff) | |
systemd: add HYPRLAND_NO_SD_NOTIFY
fixes #4217
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 86c44857..2edf3601 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -102,7 +102,7 @@ int main(int argc, char** argv) { g_pCompositor->initServer(); - if (!getenv("HYPRLAND_NO_RT") || configStringToInt(std::string(getenv("HYPRLAND_NO_RT"))) == 0) + if (!envEnabled("HYPRLAND_NO_RT")) Init::gainRealTime(); Debug::log(LOG, "Hyprland init finished."); |
