From a914726ca9f2ca8ffb6323fadf6da8dd03bf8c58 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Thu, 9 Apr 2026 19:36:57 +0100 Subject: [PATCH] Fix GoofCord launching as 'electron' by passing --class flag Co-Authored-By: Claude Opus 4.6 --- hosts/FredOS-Gaming.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hosts/FredOS-Gaming.nix b/hosts/FredOS-Gaming.nix index ddb9db7..f3191ce 100644 --- a/hosts/FredOS-Gaming.nix +++ b/hosts/FredOS-Gaming.nix @@ -10,7 +10,16 @@ # ]; #}) mangohud - goofcord + (pkgs.symlinkJoin { + name = "goofcord-wrapped"; + paths = [ goofcord ]; + nativeBuildInputs = [ pkgs.makeWrapper ]; + postBuild = '' + rm $out/bin/goofcord + makeWrapper ${goofcord}/bin/goofcord $out/bin/goofcord \ + --add-flags "--class=GoofCord" + ''; + }) lsfg-vk lsfg-vk-ui faugus-launcher