From 9fb0c0a792cbc334a997decb46526c2a88d7c2c5 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Thu, 9 Apr 2026 19:55:37 +0100 Subject: [PATCH] Fix GoofCord identity by enabling native Wayland mode Set NIXOS_OZONE_WL=1 so Electron runs on Wayland natively and sets the correct app_id, matching the .desktop file's StartupWMClass. Co-Authored-By: Claude Opus 4.6 --- hosts/FredOS-Gaming.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/FredOS-Gaming.nix b/hosts/FredOS-Gaming.nix index a2dd898..4c76ef1 100644 --- a/hosts/FredOS-Gaming.nix +++ b/hosts/FredOS-Gaming.nix @@ -13,7 +13,7 @@ (goofcord.overrideAttrs (old: { postFixup = (old.postFixup or "") + '' substituteInPlace $out/bin/goofcord \ - --replace-fail '/bin/electron"' '/bin/electron" --class=GoofCord' + --replace-fail 'exec -a "$0"' 'NIXOS_OZONE_WL=1 exec -a "$0"' ''; })) lsfg-vk