From 483302a2cdc3cc8f4854aecb9cb0ed841babe30c Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 17 Nov 2023 23:29:30 +0000 Subject: env: add HYPRLAND_NO_RT --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 40ddf390..27a768ba 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -97,7 +97,8 @@ int main(int argc, char** argv) { g_pCompositor->initServer(); - Init::gainRealTime(); + if (!getenv("HYPRLAND_NO_RT") || configStringToInt(std::string(getenv("HYPRLAND_NO_RT"))) == 0) + Init::gainRealTime(); Debug::log(LOG, "Hyprland init finished."); -- cgit v1.2.3