summaryrefslogtreecommitdiff
path: root/start/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'start/src/main.cpp')
-rw-r--r--start/src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/start/src/main.cpp b/start/src/main.cpp
index e73fcfa5..45a78357 100644
--- a/start/src/main.cpp
+++ b/start/src/main.cpp
@@ -22,6 +22,7 @@ Any arguments after -- are passed to Hyprland. For Hyprland help, run start-hypr
Additional arguments for start-hyprland:
--path [path] -> Override Hyprland path
--no-nixgl -> Force disable nixGL
+ --force-nixgl -> Force enable nixGL
)#";
//
@@ -79,6 +80,10 @@ int main(int argc, const char** argv, const char** envp) {
g_state->noNixGl = true;
continue;
}
+ if (arg == "--force-nixgl") {
+ g_state->forceNixGl = true;
+ continue;
+ }
}
if (startArgv != -1)