I am running Hyprland and all OZONE apps work perfectly fine when launched from a terminal, but when I launch Discord, teams-for-linux, or Spotify from my app launcher it looks pixelated on monitors which have non-unity scaling.
I would appreciate any help in troubleshoothing this.
~ ❯ echo $NIXOS_OZONE_WL
1
~ ❯ echo $ELECTRON_OZONE_PLATFORM_HINT
wayland
EDIT: My app launcher was being run as a systemd service, the following allowed the necessary variables to be inherited by the launcher:
wayland.windowManager.hyprland = {
enable = true;
systemd = {
enable = true;
variables = [ "--all" ];
};