Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to add environment variables to every game #262

Open
Mammad900 opened this issue May 16, 2024 · 0 comments
Open

Option to add environment variables to every game #262

Mammad900 opened this issue May 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Mammad900
Copy link

Mammad900 commented May 16, 2024

Is your feature request related to a problem? Please describe.
I need to add some environment variables to be able to launch my games using my dGPU:

env DRI_PRIME=1 __NV_SHOW_GRAPHICS_OSD=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia <executable>

Right now I have to add these variables in every game's command, which is cumbersome. The long text also makes the executable field harder to use.

Describe the solution you'd like
An option to set some environment variables in one place that applies to every game would be appreciated.

Describe alternatives you've considered
This can be extended to adding any string to the start of the executables but I'm not sure if there's any use case for that.

Additional context
Add any other context or screenshots about the feature request here.

@Mammad900 Mammad900 added the enhancement New feature or request label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant