I’ve already tried and added ELECTRON_OZONE_PLATFORM_HINT=wayland to my hyprland.conf but Discord, Spotify, and other Electron apps are still pixelated/blurry on my 2560x1600@165Hz display. And have also tired “xwayland {force_zero_scaling = 1 }". None seem to fix the blurry/pixelated problem. Are there any fixes to this problem?
The default Discord and Spotify apps, do not use the system wide Electron. They ship their own and so the system wide settings would be ignored by them.
Some of these like Spotify, offer a config file called spotify-flags.conf that lets you put Electron options there. So read their docs.
For some others like Discord, you’d have to edit the .desktop file and explicitly add the options to the command that launches Discord.
If you’re using the system location for desktop files, you can copy it to $XDG_DATA_HOME/applications and it won’t get clobbered by updates. [ArchWiki: Desktop entries]
I find this particularly useful for hiding desktop files that don’t really make sense to appear in a launcher, like the emacs daemon.