From ca4178d3ba373fead840fdf998bdf12ddaf98122 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Thu, 9 Apr 2026 20:04:48 +0100 Subject: [PATCH] Fix GoofCord desktop matching with lowercase StartupWMClass Electron sets the Wayland app_id from the package name (lowercase "goofcord") but the desktop file had StartupWMClass=GoofCord (capitalized), causing GNOME to not match the window to its icon. Co-Authored-By: Claude Opus 4.6 --- hosts/FredOS-Gaming.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/FredOS-Gaming.nix b/hosts/FredOS-Gaming.nix index 4c76ef1..900fa72 100644 --- a/hosts/FredOS-Gaming.nix +++ b/hosts/FredOS-Gaming.nix @@ -14,6 +14,8 @@ postFixup = (old.postFixup or "") + '' substituteInPlace $out/bin/goofcord \ --replace-fail 'exec -a "$0"' 'NIXOS_OZONE_WL=1 exec -a "$0"' + substituteInPlace $out/share/applications/goofcord.desktop \ + --replace-fail 'StartupWMClass=GoofCord' 'StartupWMClass=goofcord' ''; })) lsfg-vk