Suggestion: Add Env= key to specify additional environment variables
This can already be done in the Exec= key, but when automatically editing a bunch of .desktop files, for example to add DRI_PRIME=1 and the Nvidia equivalent, this can get messy.
This approach could also be a desktop environment agnostic way for !13 (merged) . And one that can be checked by the application explicitly if they so desire.