For most electron apps, you should put the above in ~/.config/electron-flags.conf. Note that VSCode is known not to work with it.
Seems like a deal breaker.
Seems like a deal breaker.
https://wiki.hypr.land/Getting-Started/Master-Tutorial/#forc...
It has been common for years to use such flags for Electron-based apps on Wayland. It's not specific to Hyprland, and it's not as bad as it sounds. Chromium has been working on Wayland support for years and it was behind a feature flag. It's worked well for a while now and will be the default soon. https://www.phoronix.com/news/Chrome-Auto-Ozone-Platform