From f624449c12f905669bc7ede446e913c3d5ca75f5 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Fri, 27 Feb 2026 17:57:04 +0000 Subject: start: add --force-nixgl and check /run/opengl-driver (#13385) --- start/src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'start/src/main.cpp') 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) -- cgit v1.2.3