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 <noreply@anthropic.com>
This commit is contained in:
parent
f28f6ecbdf
commit
9fb0c0a792
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue