summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2023-12-21 22:27:12 +0100
committervaxerski <vaxry@vaxry.net>2023-12-21 22:27:12 +0100
commitbd952dcef2ead3b0b7e2d730930a3fc528813ee0 (patch)
tree231401dbdb3567649e24f389aad9aa5bf5392583 /src/main.cpp
parentbc51a91043a6405834854d8a13e8e8ac45ea5737 (diff)
systemd: add HYPRLAND_NO_SD_NOTIFY
fixes #4217
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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.");